Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

linux centos 4.2 (RHEL4.2) ip_forward is zero at boot time. how to make ip_forward=1 at boot time?

Posted on 2006-03-28
2
Medium Priority
?
432 Views
Last Modified: 2012-05-05
linux centos 4.2 (RHEL4.2)
I work on linux centos 4.2. I need that ip_forward=1
so in /proc/sys/net/ipv4, i write :
% echo 1 > ip_forward
but ip_forward is zero at boot time.
how to make ip_forward=1 at boot time?

0
Comment
Question by:gdmo
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 200 total points
ID: 16318783
/etc/sysctl.conf
add or modify
net.ipv4.ip_forward = 1
0
 

Author Comment

by:gdmo
ID: 16324226
thanks. it works fine.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question