Page 1 of 1

default gateway still being set

Posted: Wed Jul 13, 2016 3:25 pm
by timdau
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.

Re: default gateway still being set

Posted: Fri Jul 15, 2016 9:09 pm
by timdau
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.

Re: default gateway still being set

Posted: Tue Aug 02, 2016 5:12 am
by thisjun
What client software did you use?

Re: default gateway still being set

Posted: Thu Aug 04, 2016 7:28 am
by datswd
Try to run DhcpSet command and remove there default route.

Re: default gateway still being set

Posted: Thu Aug 04, 2016 12:23 pm
by timdau
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.