[strongSwan] Disable default gw

Marc Roos M.Roos at f1-outsourcing.eu
Sat Jan 27 00:38:03 CET 2018


 
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?




More information about the Users mailing list