[strongSwan] Not all routes added

gandalf at mess.hu gandalf at mess.hu
Thu Dec 24 18:05:34 CET 2020


> I have a VPN server on a MikroTik router. I'm trying to connect to it
> from strongswan client on Ubuntu 10.04.1 LTS.
>
This was a typo, I meant 20.0.4 LTS, of course.
> If I change the order of the networks on the server, then the first
> one takes precedence. For example this config:
> |/ip ipsec mode-config add address-pool=vpn.my.server.hu
> address-prefix-length=32 name="modeconf vpn.my.server.hu" split-include=|||172.111.0.0/16|,|||192.168.13.0/24|,10.0.88.0/24 static-dns=10.0.88.1 system-dns=no |
>
> Will add route for 172.111.0.0/16 on the client. But it won't add
> 192.168.13.0/24 nor 10.0.88.0/24.
>
> The problem is not with the VPN server, because I can connect to it
> from Windows 10, and all routes pushed by the server are correctly
> added to the routing table.
>
For comparison, this is what I see in the routing table after I connect
from Windows 10:

https://imgur.com/a/gD6vavc


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20201224/c12b2ef5/attachment.html>


More information about the Users mailing list