We have a couple of development jobs that require us to have a single fixed IP for access. So I am trying to configure one of our VPSs to act as a VPN server.
I've configured certificates and the VPN so I can now connect remotely with VPN using SSTP. I connect and stay connected. The problem is that when I am connected, I don't have internet access.
Now I don't want to edit my local client so it doesn't use the VPN server's default gateway, because the whole point of this is that I do, so I get the server's fixed IP for my web connection.
I have IPs being allocated from 10.0.0.1 to 10.0.0.20
The problem seems to be that the default gateway is on a separate subnet, which is allocated by the ISP.
I've turned on NAT, I've tried setting static routes for each of the local IPs allocated to the VPN, with the same default gateway as the machine itself. Nothing seems to work.
It seems like what I am trying to do should not be this difficult, but it have tried everything I can find to sort this and nothing is working.