Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 09:45:05 +0200
From:      Kurt Jaeger <lists@complx.LF.net>
To:        mouhammad sajjad <sajjadw21@hotmail.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: ip forwarding
Message-ID:  <20030730074505.GJ41025@complx.LF.net>
In-Reply-To: <Sea1-F72RGryWtIIZS20000e970@hotmail.com>
References:  <Sea1-F72RGryWtIIZS20000e970@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

>    how i can enable ipforwarding in freeBSD???

1)

gateway_enable="YES"            # Set to YES if this host will be a gateway.

in /etc/rc.conf, reboot

2)

sysctl -w net.inet.ip.forwarding=1

[does not need a reboot, is not persistent]

> 
>    STOP MORE SPAM with [1]the new MSN 8 and get 2 months FREE*

Hear, hear 8-)
-- 
MfG/Best regards, Kurt Jaeger                                  17 years to go !
LF.net GmbH        fon +49 711 90074-23  pi@LF.net  
Ruppmannstr. 27    fax +49 711 90074-33
D-70565 Stuttgart  mob +49 171 3101372



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030730074505.GJ41025>