Gentoo Archives: gentoo-dev

From: Spider <spider@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] net forwarding
Date: Wed, 05 Jun 2002 17:12:54
Message-Id: 20020606001204.59b15ff8.spider@gentoo.org
In Reply to: [gentoo-dev] net forwarding by Marko Mikulicic
1 Topposting ;)
2
3 I prefer to use :
4 echo "1" > /proc/sys/net/ipv4/ip_forward
5 instead of the sysctl variant.. and I do this both "on" and "off" in my
6 iptables script.. that's where I consider it "fitting"
7
8 //Spider
9
10
11 begin quote
12 On Thu, 06 Jun 2002 00:03:04 -0400
13 Marko Mikulicic <marko@××××.org> wrote:
14
15 > Hello,
16 >
17 > I didn't see any configuration file where the the ipv4 forwarding can
18 > be enabled. Where is the better place to do sysctl -w
19 > net.ipv4.ip_forward=1 ? Should I create a boot script ? Wouldn't be
20 > better to set a variable in /etc/conf.d/net ?
21 >
22 > --
23 > Marko
24 >
25 > _______________________________________________
26 > gentoo-dev mailing list
27 > gentoo-dev@g.o
28 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev
29
30
31 --
32 begin .signature
33 This is a .signature virus! Please copy me into your .signature!
34 See Microsoft KB Article Q265230 for more information.
35 end

Replies

Subject Author
Re: [gentoo-dev] net forwarding Marko Mikulicic <marko@××××.org>