RandyRiegel
Programmer
I'm running RH Fedora Core 2. I have adjusted my iptable settings to turn NAT on. Everything works fine except when I reboot the computer on it has internet access. I have to do the following to turn on IP forwarding in order for nat to work. I can I get ip forwarding to stay on even when rebooting machine?
I do the following to turn ip forwarding on:
echo 1 > /sys/proc/net/ipv4/ip_forward
Can I put this in a startup file somewhere? I haven't delt to much with having things happen on startup in Linux so this is problem something really simple I'm overlooking.
Randy
I do the following to turn ip forwarding on:
echo 1 > /sys/proc/net/ipv4/ip_forward
Can I put this in a startup file somewhere? I haven't delt to much with having things happen on startup in Linux so this is problem something really simple I'm overlooking.
Randy