Re: [CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Eduardo Grosclaude
On Mon, Aug 2, 2010 at 1:45 PM, Boris Epstein wrote: > Hello listmates, > > It's been a few years since I've set up a router... and for some > reason I seem to be getting hung up on this one. > > Does anybody have a sample iptables config file that would incorporate > NAT and forwarding for a simp

Re: [CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Joseph L. Casale
>Does anybody have a sample iptables config file that would incorporate >NAT and forwarding for a simple router? Turn on ip frwding in sysctl.conf: net.ipv4.ip_forward = 1 Then rules something like this (Tune for your needs): # Accept packets belonging to established and related connections /sbin

[CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Boris Epstein
Hello listmates, It's been a few years since I've set up a router... and for some reason I seem to be getting hung up on this one. Does anybody have a sample iptables config file that would incorporate NAT and forwarding for a simple router? Thanks. Boris. __