> /sbin/iptables -t nat --flush
> /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 192.168.2.0/24 -d 0/0
> -j MASQUERADE
>
> where 192.168.2.0/24 should match your subnet address
>
> this works for me, I'm not including the other rules to choke ports.
>
> -- gary
Well I have a program that sets u
On Tue, Apr 14, 2009 at 8:03 AM, Thom Paine wrote:
> I have a server with 3 nics in it.
> eth0 is local lan
> eth1 is public internet
> eth2 is private
>
> I have most of the routing working in that I can send and receive
> traffic that I need on the private network from the server, but not on
> t
I have a server with 3 nics in it.
eth0 is local lan
eth1 is public internet
eth2 is private
I have most of the routing working in that I can send and receive
traffic that I need on the private network from the server, but not on
the workstations. I am using iptables for my firewalling, and have t