A
A
Alexander2021-10-08 23:33:34
VPN
Alexander, 2021-10-08 23:33:34

How to locally bypass VPN?

The computer is connected to the corporate VPN all the time, and accordingly, on other sites, the IP is defined as the IP of the VPN server.
But this is not always convenient for me, and for one of the browsers you need to have a real IP, the place where I am now. At home, it's easy - I forward the port from the home server via SSH and configure FF to work with a proxy.
But what about in other places?
Maybe there is a way to somehow set up some kind of local proxy so that the copy of FF I need is always connected to it and traffic from it bypasses the VPN?
Tired of constantly connecting and disconnecting VPN.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-10-09
@rPman

Once upon a time, I solved a similar problem like this: I launched a virtual machine, connected its network through a network bridge to my local network, there was no vpn connection in it (after all, from the point of view of the network, the virtual machine is just a stand-alone machine, and vpn is raised on one of my ), in this machine, a socks5 proxy based on ssh is raised using the ssh -D1080 connection, and proxy auto-selection rules were configured in the browser using the FoxyProxy extension (now I have a separate browser with my own profile running)
In order not to waste unnecessary resources, I used my own linux assembly (in fact it was a tweaked initramfs, a few megabytes of ram), and since windows was 32-bit, I used the colinux project (this is approximately what Microsoft's wsl is now without virtualization, but wsl does not have flexible network settings)
ps On linux, a similar task is solved by standard cgroup tools and a virtual machine is not needed, each application can have its own cgroup with its own network rules.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question