1 |
On Thu, 2002-06-06 at 06:22, Marko Mikulicic wrote: |
2 |
> Spider wrote: |
3 |
> > Topposting ;) |
4 |
> > |
5 |
> > I prefer to use : |
6 |
> > echo "1" > /proc/sys/net/ipv4/ip_forward |
7 |
> > instead of the sysctl variant.. and I do this both "on" and "off" in my |
8 |
> > iptables script.. that's where I consider it "fitting" |
9 |
> |
10 |
> may I ask you why do you prefer the /proc variant ? I have no prejudice |
11 |
> on both, |
12 |
> but I'm wondering why there is some many "sysctl" based scripts |
13 |
> (in other distros). |
14 |
> |
15 |
> I thought iptables was the "IP packet filter". Ip forwarding |
16 |
> can be used for other things, like openvpn tunneling or other |
17 |
> routing stuff which doesn't depend on iptables, right? What if I don't |
18 |
> have installed iptables ? Where it should go then ? |
19 |
> |
20 |
> I would avoid to complicate the /etc/init.d/net script. Perhaps a |
21 |
> separated /etc/init.d/net_forwarding (not sure about the nomenclature) ? |
22 |
> |
23 |
|
24 |
If /etc/sysctl.conf is present, /etc/init.d/bootmisc will |
25 |
run sysctl automatically at boot. |
26 |
|
27 |
|
28 |
-- |
29 |
|
30 |
Martin Schlemmer |
31 |
Gentoo Linux Developer, Desktop Team Developer |
32 |
Cape Town, South Africa |