Firewall Rules
Peter Garrett
peter.garrett at optusnet.com.au
Thu Aug 23 05:53:53 UTC 2007
On Wed, 22 Aug 2007 16:59:10 -0500
"Victor Padro" <vpadro at gmail.com> 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
> 10.0.0.2
{snipped}
Only one gotcha here :)
On Ubuntu it is
/sbin/iptables ( not /usr/sbin/iptables )
$ lsb_release -d
Description: Ubuntu 7.04
$ which iptables
/sbin/iptables
$ ls /usr/sbin/iptables
ls: /usr/sbin/iptables: No such file or directory
Peter
More information about the ubuntu-users
mailing list