[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables+nat



You might want to install shorewall.  It's a pretty neat program that
allows you to
manage your firewall (iptables) pretty easily from the command line.



cheers,

    mehul



On Fri, 4 Mar 2005 20:22:43 +0100, gaspo <gaspolo@gmail.com> wrote:
> hi i have installed debian on my ultra 5...
> i wanna setting up NAT connection for my 2 client window...
> i make that command:
> ifconfig eth0 192.168.1.1
> iptables -t nat -A POSTROUTING -o hme0 -s 192.168.1.1/24 -j MASQUERADE
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ...
> but iptables say:
> debian:/etc/init.d# iptables -t nat -A POSTROUTING -o hme0 -s
> 192.168.1.1/24 -j MASQUERADE
> iptables: No chain/target/match by that name
> 
> debian:/etc/init.d# uname -a
> Linux debian 2.4.18 #2 Thu Apr 11 14:37:17 EDT 2002 sparc64 unknown
> 
> --
> To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 


-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com



Reply to: