Re: Turning on IP Forwarding

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

 



On Monday 24 March 2003 15:08, Rob Sterenborg wrote:
> 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.
>
Both will work, it is up to you to decide where you wish to have this placed!

I prefer having it as part of my firewall script to start and stop forwarding 
together with my firewall.

/Kim




[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