Answer the question
In order to leave comments, you need to log in
Virtualization, Routing, VPN how to make friends?
There is a PROXMOX virtualization system and 1 white IP address.
Internet is transmitted to virtual machines via NAT.
Virtual machines Windows, Linux. Access to them goes through traffic forwarding to the port.
The virtual machine connects to the VPN network and access to it via the white IP is lost.
There is a need for the virtual machine to use the default gateway assigned by the VPN connection.
Please tell me how and what to set up so that it all works.
Relevant for Windows machines.
I added a route to a white IP w\h local, but it does not work until the connection with the VPN is broken.
Answer the question
In order to leave comments, you need to log in
The default gateway in the VPN connection in this scenario, you will not be able to shove. More precisely, you can, but only if through this white IP they go to this virtual machine only from a fixed set of IP addresses on the Internet. Then you can register a dedicated gateway on these IP addresses.
Usually, the problem is solved in the opposite way - for networks that pass through the VPN, static routes are set, but the default gateway remains in place unchanged.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question