Re: IP forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux