Friday, March 6, 2015

networking - Local proxy solution to circumvent my VPN

I work in a remote office, and in order to connect to corporate resources, we have to log into a software VPN. Once authenticated, this VPN then gets an IP address and configures its gateway as the default gateway, thus routing all traffic into the corporate network. Then in order to be able to access any corporate resources (wiki, git, etc) we have to use the corporate proxy server. The problem there is the proxy filters are significant, blocking access to many commonly-used sites, and the throughput ranges from lousy to awful (downloading a 600MB image from docker.io can take >20 minutes over the VPN but <1 minute while off the VPN).



I want to be able to bypass the VPN (and specifically the default route into the VPN) whenever I want. What (I think) I want is a local proxy server that routes all traffic over the local network gateway, NOT the VPN gateway. That way I avoid managing network/domain by-pass configurations (which I've already attempted to do, and there are at least 200 networks/IPs, so it's way too much to manage) and just use the local proxy only when I'm connected to the VPN and explicitly need to bypass it entirely. How can I accomplish this?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...