Re: redhat 8 as arouter

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

 



Hi,
You should use SNAT and DNAT and not masquerade
You should also make sure that ip forwarding is enabled in the kernel.
Either in /etc/sysctl or by:
echo 1 > /proc/sys/net/ipv4/ip_forward
hth
Willem

On Wed, 7 Jan 2004, Mrs. Geeta Thanu wrote:

> Hi all,
> 
> I want to configure a redhat machine with NIC as router and firewall.
> I am having a confusion here.
> eth0 has a public ip
> eth1 has a private ip.
> eth1 gateway is a public ip.
> so here ip masqurade is necessary.pls help me with the IPtables rules for
> ipmasquerading, nating and forwarding from eth1 to eth0 and viceversa.
> please help
> 
> thank u
> Geetha
> 
> 
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux