vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Does anyone know the EXACT name of the /etc/conf.d/iptables variable? When I start iptables I have to keep rewriting the forwarding variable at /proc/sys/net/ipv4/conf/all/forwarding to enable forwarding even though I have the following set.... The gentoo doc says /etc/conf.d/iptables should contain ENABLE_FORWARDING_IPv4="yes" Is that true or a little off? Thanks. -Walt |
| ||||
| PenguinsAnonymous@notachance.org wrote: > Does anyone know the EXACT name of the /etc/conf.d/iptables > variable? When I start iptables I have to keep > rewriting the forwarding variable at > /proc/sys/net/ipv4/conf/all/forwarding > to enable forwarding even though I have the > following set.... > The gentoo doc says /etc/conf.d/iptables should contain > ENABLE_FORWARDING_IPv4="yes" > Is that true or a little off? > Thanks. > -Walt I just reconfirmed all this.. The Gentoo Wiki on "setting up a home server" has a section firewall rules the gentoo way It states set ENABLE_FORWARDING_IPv4 to yes to turn on forwarding. It says it will put a 1 at /proc/sys/net/ipv4/ip_forward when I boot up with this I am not forwarding till I do the following....... echo 1 > /proc/sys/net/ipv4/conf/all/forwarding (note this is a different place) Can anyone explain this discrepancy? me or the doc? I am testing forwarding by having a pc behind the firewall with an audio stream that hangs and frees when I manually stuff the 1. Could this be a difference in kernels? I am using 2.6.12 not 2.4.22 as in the wiki. Thanks for any help. -Walt |