Handbook 14.10 VPN over IPsec

Viktor Korshunov viktor at korshunov.ru
Thu Sep 28 18:44:47 UTC 2006


Hello doc,

 some remark about one chapter.

 I've seen chapter in
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html
 and trying to do it step by step.

 So, I have a cope of trouble.
 I found about my problem in search engine as google.com and found
 working decision.

 I think one sting must be added, one mask edited in this chapter for working
 decision.
 
--- begin original text ---
Summary:

Configure both kernels with “device gif”.

Edit /etc/rc.conf on gateway host #1 and add the following lines (replacing IP addresses as necessary).

gifconfig_gif0="A.B.C.D W.X.Y.Z"
ifconfig_gif0="inet 192.168.1.1 192.168.2.1 netmask 0xffffffff"
static_routes="vpn"
route_vpn="192.168.2.0 192.168.2.1 netmask 0xffffff00" 
--- end original text ---

--- begin new text ---
Summary:

Configure both kernels with “device gif”.

Edit /etc/rc.conf on gateway host #1 and add the following lines (replacing IP addresses as necessary).

gifinterface="gif0"
gifconfig_gif0="A.B.C.D W.X.Y.Z"
ifconfig_gif0="inet 192.168.1.1 192.168.2.1 netmask 0xffffffff"
static_routes="vpn"
route_vpn="192.168.2.0 192.168.2.1 0xffffff00"
--- end new text ---

 

-- 

With regards,                           mailto:viktor at korshunov.ru
  Viktor Korshunov                      ICQ UIN: 106349261




More information about the freebsd-doc mailing list