LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ip_forward (https://www.linuxquestions.org/questions/linux-networking-3/ip_forward-7663/)

Sathe 10-17-2001 09:59 PM

ip_forward
 
got a problem. everytime my linux server reboots or i do a "service network restart" after i've made some changes, ip_forward goes back to "0" when i need to stay it as "1" for my workstation to get an internet connection. anyone know how to keep it from changing back to a "0" every time? i'm using linux redhat 7.1

dizzydench 10-18-2001 09:00 AM

I am having the same problem... (I know, not much help)... But what I am looking to do is basically set it everytime the PC boots... I'll let you know if I get an answer on my thread ("dhcpd, smbd, nmbd, wdpd")

-Dizzy

DavidPhillips 10-19-2001 12:53 AM

put this line in /etc/rc.d/rc.local


echo 1 > /proc/sys/net/ipv4/ip_forward


All times are GMT -5. The time now is 05:40 PM.