Date: Mon, 13 Jan 2020 16:34:51 +0700 From: Victor Sudakov <vas@sibptus.ru> To: freebsd-questions@freebsd.org Subject: Re: replacement of security/ipsec-tools Message-ID: <20200113093451.GA90105@admin.sibptus.ru> In-Reply-To: <04c75aaa-d844-2ddc-a437-e2bcab2a7b22@otcnet.ru> References: <50378AC0-0A0A-4E33-961F-3D180987A8C1@ellael.org> <20200110035009.GB67842@admin.sibptus.ru> <04c75aaa-d844-2ddc-a437-e2bcab2a7b22@otcnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Gamov wrote: > I successfully use strongswan about 2 years to connect FreeBSD-FreeBSD and > FreeBSD-Cisco Victor, have you any experience with Windows hosts (FreeBSD - Windows IPSec= )? >=20 > Configuration is simple: >=20 > =3D=3D=3D=3D=3D /usr/local/stc/rc.conf.d/netif/ipec2001: > cloned_interfaces=3D"$cloned_interfaces ipsec2001" > create_args_ipsec2001=3D"reqid 2001" > ifconfig_ipsec2001=3D"inet 10.10.01.2 10.10.01.3 netmask 255.255.255.254 > tunnel <local_WAN_ip> <remote_WAN_ip> up" > =3D=3D=3D=3D=3D >=20 > =3D=3D=3D=3D=3D /usr/local/etc/ipsec.conf > conn tmpl_AES256_SHA256 > left =3D <local_WAN_ip> > leftsubnet =3D 0.0.0.0/0 > rightsubnet =3D 0.0.0.0/0 > authby =3D psk > keyexchange =3D ikev1 > ike =3D aes256-sha256-modp2048 > esp =3D aes256-sha256 > ikelifetime =3D 28800 > mobike =3D no > installpolicy =3D no > lifetime =3D 3600 > auto =3D start >=20 > conn REMOTE1 > right =3D <remote_WAN_ip> > reqid =3D 2001 > also =3D tmpl_AES256_SHA256 > =3D=3D=3D=3D=3D Thank you, so the "installpolicy =3D no" and "reqid =3D XXXX" parameters are crucial for strongswan to bind to an existing SPD entry (created by if_ipsec) instead of installing its own. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeHDm7AAoJEA2k8lmbXsY0eZ4H/RlQlBZhVwp0bkZApXFuK/U0 wdZXcw9xwKfDxNF05XRpEVRtlDFV+hNS7ozI93ZQRx0KjbBWyTRaYmAoLU1Lecjg uOIA25zrpRK1dVibaSd5ER0AUnLqbgHkMR7GN+iSzAnYduBOOE+hAOMNbsA9R1cF IlLHpCeKrbIgH9TAADT23Yt0yhbL965yvKIB1l0C2CuyG0Y/5WLZLMQ7qngyaKok Ek8gc2HjL8hP1ccWU9/uhqqIFfZDdm+Ol3ZKa4eCdTDP7XctR+azDhJbhvn3uLie /VopWWYYoq3FjnXhu4KAaV2iFXdjW6MarIXC0yfZzPCbqD810wLn3sV+8N0FiWA= =lh+c -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200113093451.GA90105>