Answer the question
In order to leave comments, you need to log in
How to set up routing so that part of the traffic uses a vpn connection?
Good afternoon!
Given:
Office with TP-LINK TL-ER6120 router
Windows 2008 r2 remote server c:
Answer the question
In order to leave comments, you need to log in
When VPN is connected, the server is assigned as the default router on the client. It needs to be cancelled.
In Windows, this is done by unchecking the connection properties, this setting is buried somewhere deep, now I can’t write the exact path there.
If, after connecting to the VPN, the client receives addresses from the range that is not included in the network behind the VPN server, then on the client, you must manually register a static route to this network through the VPN server:
route add ...
res2001 : Artem :
not
to
get confused:
server with vpn = router
remote server with resources = vpn
client vpn client resources are no longer available on the local network behind the vpn. However, the vpn connection is in the "Connected" state. The vpn client is accessible by its real ip. From the client, you can access resources on the local network for vpn.
If you leave the checkbox "Use the default remote network gateway.", then the resources of the vpn client are available from the local network behind the vpn, however, it is impossible to reach the vpn client by its real ip, which is generally logical.
On a computer in the local network for vpn there is an application that connects to the mysql database that is located on the vpn client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question