From owner-freebsd-ports@FreeBSD.ORG Thu Apr 21 15:17:30 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC1216A4CE for ; Thu, 21 Apr 2005 15:17:30 +0000 (GMT) Received: from smtp.zyxel.cn (ns2.zyxel.cn [218.104.52.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9ED9843D2D for ; Thu, 21 Apr 2005 15:17:28 +0000 (GMT) (envelope-from Hairy.Zhang@zyxel.cn) Received: from ms01.zyxel.cn ([172.25.5.10]) by smtp.zyxel.cn with InterScan Messaging Security Suite; Thu, 21 Apr 2005 23:17:00 +0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 21 Apr 2005 23:16:50 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD Port: vpnc-0.3.2_2 Thread-Index: AcVGhSR4+fHVhjrORP6ibSik0LUmhA== From: =?gb2312?B?SGFpcnkgWmhhbmcgLSDVxcP3?= To: X-Mailman-Approved-At: Fri, 22 Apr 2005 13:23:25 +0000 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: ports@FreeBSD.org Subject: FreeBSD Port: vpnc-0.3.2_2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 15:17:30 -0000 Dear delta, =20 Sorry to bother you. But I saw an article = http://www.freshports.org/security/vpnc , and think that you can help = me. =20 =20 I need to connect my pc to a router which supports ipsec . I = chose vpnc. But when I enter the configuration file vpnc.conf, I can = only see a few lines like this: Interface name tun0 IKE DH Group dh2 Perfect Forward Secrecy nopfs IPSec gateway vpngate-wlan.uni-regensburg.de IPSec ID wlan IPSec secret PhoneKarlWuerflAt4848 Xauth username abc12345.5.stud Xauth password SECRET But in the router, there are many other configurations for = phase 1 and phase 2, like preshare key/negotiation mode/encryption = algorithm, etc. How can I configure these parameters in vpnc.conf? By the = way, what are the line =A1=B0IPSec ID=A1=B1 and =A1=B0IPSec secret = =A1=B0 used for ? Thanks! =20 Any suggestion is appreciated. =20 =20 =A1=AA=A1=AA=A1=AA=A1=AA=A1=AA=A1=AA=A1=AA=A1=AA Hairy.Zhang =20