Answer the question
In order to leave comments, you need to log in
OpenVPN: How to give access to a server resource on a client PC?
Hello. There is a server with two network interface cards. On one network, the server accesses the Internet, on the second network, the server has access to a single IP address, an electronic prescription service (the VPN provider is connected to its LAN port on the modem). Through route add, access on the server to the address of electronic prescriptions is configured correctly, the Internet is working, the address of the service is being pinged, the program (using this address) is working. I installed the OpenVPN server on the server, made the standard settings.
Next, I installed the OpenVPN client on a third-party remote PC. The VPN connection between client and server will come up. There are no errors. But, I need a third-party PC to have the same access to the electronic prescription service as the server itself. And here is the problem, I do not understand how to do it. I suspect that it is necessary to register route, but it's not clear exactly how.
Tried by analogy with the server, prescribed the route and explicitly pointed to the TAP adapter. But in the end, the address is not pinged and swears that the specified node is unavailable (ip address assigned by the vpn server).
Here are the route print commands.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question