From owner-freebsd-net@freebsd.org Tue Sep 22 15:10:09 2015 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CBFF0A06307 for ; Tue, 22 Sep 2015 15:10:09 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1891632 for ; Tue, 22 Sep 2015 15:10:08 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.TOMSK.ru ([212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 38872467; Tue, 22 Sep 2015 21:10:06 +0600 Received: from admin.sibptus.TOMSK.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.TOMSK.ru (8.14.9/8.14.7) with ESMTP id t8MFA3j4098544; Tue, 22 Sep 2015 21:10:05 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.TOMSK.ru (8.14.9/8.14.7/Submit) id t8MFA3KX098543; Tue, 22 Sep 2015 21:10:03 +0600 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.TOMSK.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 22 Sep 2015 21:10:03 +0600 From: Victor Sudakov To: Larry Baird , freebsd-net@freebsd.org Subject: Re: transport mode IPSec with Windows 7, static keys Message-ID: <20150922151003.GA98507@admin.sibptus.tomsk.ru> References: <115822.44131.97331@localhost> <20150922144246.61965.qmail@mailgate.gta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150922144246.61965.qmail@mailgate.gta.com> Organization: OAO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2015 15:10:09 -0000 Larry Baird wrote: > > > > Has anyone tried to set up transport mode IPSec with Windows 7 using > > static keys? > > > > I have trouble finding encryption and authentication algorithms > > mutually acceptable on FreeBSD and Windows 7. The latter can only do > > des or 3des for encryption and md5 or sha1 for authentication, and > > requires both ealgo and aalgo to be configured. > > > > If anyone has a success story, could you please show your manually > > added SAD entries or, better still, the relevant "setkey -c add ..." > > commands? > > > > Thank you very much in advance. > Try using strongswan and IKEv2. I don't have this running at the moment, > but I know I used link below to get it to work in the past. > https://wiki.strongswan.org/projects/strongswan/wiki/Windows7 I use IKE when I have to, but would like to use static keys with Windows specifically, or at least would like to definitely know if it is at all possible or not. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru