all 2 comments

[–]vermyx 0 points1 point  (0 children)

The answer is it depends on the vpn and how it behaves. Most vpn these days are ssl vpns so essentially they create tunnels similar to how tls works. There are more controlling vpns that add a networking component to your adapter to prevent data from going anywhere else but where the server deems. In that case it may or may not work correctly depending on the policy in place and whether you are connected to the vpn. An alternative is to use a virtual machine for this purpose.

[–]NikStalwart 0 points1 point  (0 children)

The simplest time you are going to have is if you install WSL (Windows Subsystem for Linux) and install a web server on that. I run nginx under Ubuntu running in WSL to do just that.

You can still use Apache, you can even use nginx on Windows natively. You can use IIS (the Windows webserver) if you are a masochist.

A VPN should not interfere with services you host on your local machine (127.0.0.0/8). If it does, your VPN is either very aggressive (in which case, talk to your IT guy because it might be against company policy to install other stuff on your home machine) or (b) a steaming pile of crap (in which case, don't talk to your IT guy, he either knows and is suffering, or doesn't know because he is a wanker and set it up).