[strongSwan] Setup StrongSwan as server for client connections

Michael Nielsen mic.niel84 at gmail.com
Wed Dec 14 20:10:13 CET 2016


Is it simply removing right side parameters and adding:

right=%any


On Wednesday, December 14, 2016, Michael Nielsen <mic.niel84 at gmail.com>
wrote:

> I'm running StrongSwan for site2site VPN connections.
> It works fine.
>
> I have a client who cannot use site2site.
>
> How do I setup StrongSwan to act as server?
>
> This is a usual config for site2site at my end:
>
> conn testVPN
>
>         left=342.15.223.11
>
>         leftsubnet=10.0.1.9
>
>         leftid=342.15.223.11
>
>         leftfirewall=yes
>
>         right=131.32.43.12
>
>         rightsubnet=131.32.43.12
>
>         rightid=131.32.43.12
>
>         auto=start
>
>         closeaction=restart
>
>         dpdaction=restart
>
>         ike=3des-sha1-modp1024
>
>         esp=3des-sha1-modp1024
>
>         keyexchange=ikev1
>
> When starting it up and cannot connect, as it is expecting site2site and
> cannot reach the other end.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20161214/b52cad83/attachment.html>


More information about the Users mailing list