Answer the question
In order to leave comments, you need to log in
How to connect 2 PCs to a local network through OpenVPN, but not change the IP from which they go to the Internet?
Hello! There are 2 computers - one at my place, the second at work. Both have gray IPs. There is an Ubuntu server on which the OpenVPN server is installed. All computers have access.
Question: what configs need to be registered on Ubuntu so that the computers are connected to a local network, but at the same time each accesses the Internet from its own IP?
And, in general, is it possible?
Thanks for answers!
Answer the question
In order to leave comments, you need to log in
In the VPN connection settings in Ubuntu, go to the IPv4 tab, then "Routes ...", and check the box there to use this connection only for resources on its network.
And that's it, Internet traffic will continue to go through the main Internet connection, but at the same time you will be on the local VPN network.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question