|
Prerequisites: |
FreeBSD (Base + Autoconf, Automake,
Bash and GCC) Kernel Options IPFW |
IPSec VPN Server on FreeBSD via IPSec Tools and Racoon 2
# FreeBSD IPSec VPN via IPSec Tools and
Racoon
# http://ipsec-tools.sourceforge.net
# http://www.racoon2.wide.ad.jp/w/?Racoon2
# http://ezine.daemonnews.org/200101/ipsec-howto.html
# http://www.freebsddiary.org/ipsec-tunnel.php
# http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html
# Add FreeBSD Kernal Options (if you not already compile your kernal
with these)
device gif
options IPSEC #IP security
options IPSEC_ESP #IP security (crypto; define w/ IPSEC)
options IPSEC_DEBUG #debug for IP security
# Install Kerberos 5 only if you are converting EVERYTHING
# to Kerberos and will be using KINK with Racoon 2 later!
cd /usr/ports/security/krb5
make install clean
# Install NAT T (Traversal) Patch?
# http://ipsec-tools.sf.net/freebsd6-natt.diff
# Install IPSec Tools
cd /usr/ports/security/ipsec-tools/
make install clean
# Install Racoon 2
cd /usr/ports/security/racoon2/
make install clean
# More needed... like configuration... section not yet completed! 5/19/2007