Firewall Rules

Peter Garrett peter.garrett at
Thu Aug 23 05:53:53 UTC 2007

On Wed, 22 Aug 2007 16:59:10 -0500
"Victor Padro" <vpadro at> wrote:

> ok, thank you for the info, now could this be fine just to implement three
> servers using ftp, web and mail services behind a ubuntu box firewall?
> /usr/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to


Only one gotcha here :)

On Ubuntu it is

/sbin/iptables   ( not /usr/sbin/iptables )

$ lsb_release -d
Description:    Ubuntu 7.04
 $ which iptables

 $ ls /usr/sbin/iptables
ls: /usr/sbin/iptables: No such file or directory


More information about the ubuntu-users mailing list