How do I route everything except a few ports out a VPN?
March 20, 2014 7:59 PM Subscribe
I've got a VPS. If I set up a VPN connection from it to a VPN provider in NL, everything goes through the VPN, but that means I can't SSH to the machine anymore.
How do I set this up such that the VPS is listening at its regular IP on SSH, HTTP, and HTTPS, but everything else goes through the VPN?
posted by chazlarson to Computers & Internet (6 answers total) 4 users marked this as a favorite
Machine is currently running Ubuntu 12.04, but that's flexible. I have no control over the VPN endpoint.