On 7/14/07, Jonathan Horne <[EMAIL PROTECTED]> wrote:
i want to build a quick a dirty router for a dev environment.  this freebsd
is
has 3 interfaces, and ill want anything to be able to access anything, no
firewalling.

back in the day, i would accomplish the same thing in linux by
setting /proc/sys/net/ipv4/ip_forward to 1.  is the "be a network gateway"
from installation the only thing i need to set to allow this to happen?

thanks,
--
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

You can set the sysctl variable like so:

sysctl net.inet.ip.forwarding=1;

You can make this change perist across a reboot by appending the
following to /etc/rc.conf:

gateway_enable="YES"

-Modulok-
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to