default gateway still being set
Posted: Wed Jul 13, 2016 3:25 pm
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.
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.