A
A
AlizonJohn2017-07-25 17:57:14
openvpn
AlizonJohn, 2017-07-25 17:57:14

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

1 answer(s)
N
Nazar Mokrinsky, 2017-07-25
@nazarpc

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 question

Ask a Question

731 491 924 answers to any question