IP forwarding

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Jun 3 15:05:05 UTC 2004


Am Do, den 03.06.2004 schrieb Bobby Knueven um 16:57:

> How do i enable IP Forwarding in the kernel through the terminal?
> 
> Bobby Knueven

vi /etc/sysctl.conf

and change the line

net.ipv4.ip_forward = 0

to

net.ipv4.ip_forward = 1

and run

sysctl -p

For just activating forwarding for test purposes you can do it with

echo 1 > /proc/sys/net/ipv4/ip_forward

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.5-1.358 
Serendipity 17:02:29 up 1 day, 17:20, load average: 0.15, 0.24, 0.26 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040603/839065b7/attachment-0001.sig>


More information about the fedora-list mailing list