Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62096 - routing rc script (enabling ip-forwarding)
Summary: routing rc script (enabling ip-forwarding)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 05:38 UTC by Adrian Smarzewski
Modified: 2006-11-05 01:04 UTC (History)
2 users (show)

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


Attachments
routing rc script (routing,388 bytes, text/plain)
2004-08-29 05:39 UTC, Adrian Smarzewski
Details
etc/init.d/ipforwarding etc/conf.d/ipforwarding set up ipforwarding after iptables. (ipforwarding.shar,5.86 KB, text/plain)
2005-05-13 19:57 UTC, erik quanstrom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Smarzewski 2004-08-29 05:38:13 UTC
routing rc script supporting

echo 1 > /proc/sys/net/ipv4/ip_forward
as /etc/init.d/routing start

echo 0 > /proc/sys/net/ipv4/ip_forward
as /etc/init.d/routing stop


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Adrian Smarzewski 2004-08-29 05:39:27 UTC
Created attachment 38426 [details]
routing rc script
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-08-29 08:43:34 UTC
Why not use /etc/sysctl.conf ?
Comment 3 Adrian Smarzewski 2004-08-29 09:42:08 UTC
http://bugs.gentoo.org/show_bug.cgi?id=7463
Comment 4 SpanKY gentoo-dev 2004-08-29 11:45:33 UTC
let aliz incorporate this in with the iptables script

perhaps a variable in conf.d/iptables:
IPTABLES_IP_FORWARDING=1
Comment 5 Adrian Smarzewski 2004-09-30 01:31:20 UTC
ok, this routing rc script is working perfect on my router.
maybe you will include it temporary before other (better) solution
will be ready?
Comment 6 Adrian Smarzewski 2005-01-21 09:42:03 UTC
What about this ebuild? Is it already deprecated now? Is there better solution in gentoo in this moment?
Comment 7 erik quanstrom 2005-05-13 19:57:21 UTC
Created attachment 58849 [details]
etc/init.d/ipforwarding etc/conf.d/ipforwarding  set up ipforwarding after iptables.

i made this configurable. (independently.)

also, the reason that this is necessiary is that bootmisc (which mungles
kernel parameters) happens before iptables (if installed).
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-11-11 09:17:34 UTC
Re-assign, aliz seems to be MIA for almost a year... Someone please handle this. 
Comment 9 SpanKY gentoo-dev 2006-11-05 01:04:57 UTC
dont see any value in this being in portage