Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56606 - iptables-1.2.9-r4 startup script lacks 'echo "1" > /proc/sys/net/ipv4/conf/all/forwarding'
Summary: iptables-1.2.9-r4 startup script lacks 'echo "1" > /proc/sys/net/ipv4/conf/al...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 07:54 UTC by Carsten Milkau
Modified: 2004-07-13 13:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Milkau 2004-07-10 07:54:11 UTC
in the iptables-1.2.9-r4 startup script, i am missing the following lines:

        if [ "${ENABLE_FORWARDING_IPv4}" = "yes" ] ; then
                einfo "Enabling forwarding for ipv4"
                echo "1" > /proc/sys/net/ipv4/conf/all/forwarding
        fi

(taken from startup script of version 1.2.9) Is this a bug or a feature?  What is the appropriate replacement in the latter case?

Reproducible: Always
Steps to Reproduce:
1. emerge '=iptables-1.2.9-r4'

Actual Results:  
IPv4-Forwarding still not activated in kernel 

Expected Results:  
IPv4-Forwarding automatically activated in kernel
Comment 1 Carsten Milkau 2004-07-10 08:06:11 UTC
Ok, I see this should be done using /etc/sysctl.conf or /etc/conf.d/local. I didn't see the ebuild's message because of autoclean.  Will mark this as "WONT FIX".
Comment 2 Heitzso 2004-07-13 13:02:21 UTC
FYI, the fix to enable ip forwarding that had
been supported in iptable is to edit /etc/sysctl.conf
and change the net.ipv4.ip_forward line to

  net.ipv4.ip_forward = 1

Hope this is useful.