[strongSwan] Disable default gw

Noel Kuntze noel.kuntze+strongswan-users-ml at thermi.consulting
Sat Jan 27 15:43:58 CET 2018


1) Open a new thread. Do that by writing a completely new mail to Users at lists.strongswan.org.
2) https://wiki.strongswan.org/projects/strongswan/wiki/Windows7#Split-routing-on-Windows-10-and-Windows-10-Mobile
That applies to Windows 7 and newer, as well.

On 27.01.2018 00:38, Marc Roos wrote:
>  
> I have test setup running with a win7 client authenticating. I would 
> like the win7 client not to set an default gateway. Just a route to the 
> given network. How should this be done? 
>
> if I set these:
>      leftsubnet=192.168.11.7/32
>      rightsourceip=172.16.1.100/24
>
> I still get a default route modification
>
> Active Routes:
> Network Destination        Netmask          Gateway       Interface  
> Metric
>           0.0.0.0          0.0.0.0     192.168.11.1    192.168.11.35   
> 4235   <---- the standard default gw
>           0.0.0.0          0.0.0.0         On-link      172.16.1.100     
> 11   
>         127.0.0.0        255.0.0.0         On-link         127.0.0.1   
> 4531
>
> Preferably I don’t want to change the windows client settings with 
> unchecking the default route boxes. I rather have the server force not 
> to route. Or is this pure a windows setting and not controllable via vpn 
> server?
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20180127/aa6b8972/attachment.sig>


More information about the Users mailing list