I am trying to setup softether so only a few routes go through the VPN and the rest go direct. I've removed the default gateway from the securenat configuration but a default gateway is still being set.
Internet:
Destination Gateway Flags Refs Use Netif Expire
default link#12 UCS 24 0 ppp0
default 192.168.2.1 UGScI 26 0 en0
I've tried the latest RTM version and the previous RTM version and neither one works.
Here are the routes I am pushing:
string DhcpPushRoutes 10.0.0.0/255.0.0.0/192.168.30.1,$20172.16.0.23/255.255.255.255/192.168.30.1
The client is OSX 10.10.3
If I remove both default gateways manually in the terminal and add just the 192.168.2.1 back then it works as desired.
default gateway still being set
-
- Posts: 3
- Joined: Wed Jul 13, 2016 3:03 pm
Re: default gateway still being set
Can anyone help with this? Why is it still creating the default route? My workaround is to remove the route at the terminal, but I can't expect end users to do this.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: default gateway still being set
What client software did you use?
-
- Posts: 7
- Joined: Wed Aug 03, 2016 11:44 am
Re: default gateway still being set
Try to run DhcpSet command and remove there default route.
-
- Posts: 3
- Joined: Wed Jul 13, 2016 3:03 pm
Re: default gateway still being set
The client is the native OSX client.
In the end I had to have all of my users change the Set Service Order in the OSX client, they had to put it to the bottom of the list.
In the end I had to have all of my users change the Set Service Order in the OSX client, they had to put it to the bottom of the list.