Reputation: 620
I used the solution from this thread Windows SSTP VPN - connect from Mac, along with other dozen VPN clients on MAC.
I simply need to:
Port=VPN1-0
Device=WAN Miniport (SSTP)
DEVICE=vpn
PhoneNumber=vpn.company.com
...
I see that before connecting to VPN I have 26 routing tables and after I connect to VPN -76.
I'm able to connect to SSTP VPN using this command:
sudo /usr/local/sbin/sstpc --log-stderr --cert-warn --user [email protected] --password super! vpn.company.com usepeerdns require-mschap-v2 noauth noipdefault defaultroute refuse-eap noccp
However, when I'm connected to VPN I have no Internet access. I have only access to resources that are behind VPN.
I have a feeling that one of the parameters I pass to this command can solve my problem. I wasn't able to isolate which one though. I also would appreciate:
Upvotes: 1
Views: 3276
Reputation: 620
use nodefaultroute
and add network to the route table manually:
sudo route add -net "172.16.0.0/12" -interface ppp0
Upvotes: 2