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
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?

Question by:gdmo
    LVL 43

    Accepted Solution

    add or modify
    net.ipv4.ip_forward = 1

    Author Comment

    thanks. it works fine.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    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 is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now