Skip to contentSkip to conversation

IP_forward

DISCUSSION [email protected] 3 participants 3 messages Nov 25, 2002

lore
Share & tools
lore
#0 lore raw

all,
what file do I tell the server to run echo 1 > /proc/sys/net/ipv4_ipforward in?

thanks!

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · On Monday 25 November 2002 12:17, [email protected] wrote:

all,
what file do I tell the server to run echo 1 >
/proc/sys/net/ipv4_ipforward in?

You probably mean /bin/echo 1 > /proc/sys/net/ipv4/ip_forward and the easiest way to run it is out of /etc/rc.local

- -A
- --
http://andrew.cmu.edu/~apapadop/pub_key.asc
3DAD 8435 DB52 F17B 640F D78C 8260 0CC1 0B75 8265 -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE94mbggmAMwQt1gmURAmuzAJwPNStgK3b3JEGSd/zplE+hlAsVAACfbRsW TVp7wWohb2uQO/lvpB5lPsw=
=xurZ
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 7 lines · Alexandros Papadopoulos
Quoted 4 lines · On Monday 25 November 2002 12:17, [email protected] wrote:

all,
what file do I tell the server to run echo 1 >
/proc/sys/net/ipv4_ipforward in?

You probably mean /bin/echo 1 > /proc/sys/net/ipv4/ip_forward

Though, to be fair, it should find echo.

Quoted 1 line

and the easiest way to run it is out of /etc/rc.local

That depends, as far as I know, on your distribution. What are you running?

Signature · 1 line
FunkyJesus System Administration Team