Richard Yang skrev:
hi,
i am trying to use freebsd as my home network gateway to the internet.
any good reference i should know besides what's in the handbook?
thanks

rich
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.19/1857 - Release Date: 2008-12-19 10:09


Hello Richard,

The first step is really easy - assuming you have a FreeBSD with two nics in it - edit /etc/rc.conf and comment out the line that starts with 'defaultrouter=' and then add a line saying 'gateway_enable="YES".

The second step is a bit more complicated - you will have to decide on a firewall and a NAT mechanism. Depending on your choice here you will have to do various things to implement it.

The handbook is a good start when chosing firewall - http://www.freebsd.org/doc/en/books/handbook/firewalls.html .

There are alot of other additional information spread out on the (w)internet - here's a couple:

ipfilter
http://freebsd.peon.net/tutorials/21/

ipfilter and pf resources
http://www.obfuscation.org/ipf/

pf
http://web.irtnog.org/howtos-orig/freebsd-firewall

I hope this will help you get started.

Greetings
/Roger


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to