Answer the question
In order to leave comments, you need to log in
Working with two openvpn connections at the same time?
Good afternoon!
There is a VPN server on the local network, through which they go exclusively to the local network (terminal, 1C, file balls) and there is an OpenVPN server remote on the VPS, which is used exclusively for surfing the Internet (connected if necessary IP substitution). The problem is that when you connect to the first VPN (for LAN) - everything is OK, the LAN works as it should, the Internet goes separately. When connected separately to the second VPN - everything is ok, the LAN works by itself, and the Internet goes through the VPS ... but when connected to them at the same time (2 tun interfaces), the Internet and ADJACENTthe local network works through a remote VPS. The client in his network pings everything locally, and in the neighboring one, to which routing goes through Mikrotik, packets go through a remote VPS (which is extremely unacceptable, since the VPS is located in the USA + drives traffic over a narrow Internet channel). Please help me solve the problem. What settings in the server config should I pay attention to? Or is it not a matter of setting up openvpn?
When I execute
route delete 128.0.0.0 mask 128.0.0.0 on the client, the
local network starts working normally, but the Internet through the VPS disappears.
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