View Single Post
  #2   (View Single Post)  
Old 4th May 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

See chapter 31.2.4 of the FreeBSD Handbook: Building a Router for setting up your FreeBSD machine as a basic router.

For a firewall and possibly NAT you'll need to use PF, the FreeBSD handbook has a basic section on that too:
http://www.freebsd.org/doc/en_US.ISO...ewalls-pf.html

Also look at the OpenBSD guide for PF which is more detailed about PF itself:
http://cvs.openbsd.org/faq/pf/index.html
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote