From owner-freebsd-doc@FreeBSD.ORG Thu Sep 28 18:44:47 2006 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA2CB16A528 for ; Thu, 28 Sep 2006 18:44:47 +0000 (UTC) (envelope-from viktor@korshunov.ru) Received: from post.kis.ru (mail.kis.ru [195.98.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 107E343D45 for ; Thu, 28 Sep 2006 18:44:43 +0000 (GMT) (envelope-from viktor@korshunov.ru) X-Virus-Scanned: by cgpav-clamav Received: from [212.92.175.186] (HELO BIZDOM-ST005) by post.kis.ru (CommuniGate Pro SMTP 5.0.10) with ESMTP id 154922811 for doc@FreeBSD.org; Thu, 28 Sep 2006 22:44:42 +0400 Date: Thu, 28 Sep 2006 22:45:55 +0400 From: Viktor Korshunov X-Mailer: The Bat! (v3.71.04) Professional X-Priority: 3 (Normal) Message-ID: <3910221260.20060928224555@korshunov.ru> To: doc@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Thu, 28 Sep 2006 19:53:59 +0000 Cc: Subject: Handbook 14.10 VPN over IPsec X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Viktor Korshunov List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 18:44:47 -0000 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@korshunov.ru Viktor Korshunov ICQ UIN: 106349261