RE: Turning on IP Forwarding

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

 



> Can anyone tell me which file I need to modify to turn
> on IP Forwarding? I know where to do it while the
> system is on; however, since it's a multi-homed system
> and my router, I would like to have it setup
> correctly...

Do you mean like, on a RedHat machine : 
/etc/sysctl.conf ->
net.ipv4.ip_forward = 1

Or :
echo 1 > /proc/sys/net/ipv4/ip_forward
Which you can put in /etc/rc.d/rc.local or whatever startup file.


Rob



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux