Answer the question
In order to leave comments, you need to log in
Internet drops out when connecting to OpenVPN (Win 7)
Guys, tell me please, in network technologies I am not boom-boom.
I only use OpenVPN to set up a LAN over the internet between my Win 7 machine and a remote Debian server. VPN does not provide access to the Internet, and when I connect, the Internet disappears (everything goes through OpenVPN)
I googled. Honestly, but all I found was either questions or answers like “see routes”, but I don’t understand anything about them. Tell me please
IPv4 таблица маршрута =========================================================================== Активные маршруты: Сетевой адрес Маска сети Адрес шлюза Интерфейс Метрика 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.1.0 255.255.255.0 On-link 192.168.1.2 281 192.168.1.2 255.255.255.255 On-link 192.168.1.2 281 192.168.1.255 255.255.255.255 On-link 192.168.1.2 281 192.168.237.0 255.255.255.0 On-link 192.168.237.1 276 192.168.237.1 255.255.255.255 On-link 192.168.237.1 276 192.168.237.255 255.255.255.255 On-link 192.168.237.1 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.2 281 224.0.0.0 240.0.0.0 On-link 192.168.237.1 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.2 281 255.255.255.255 255.255.255.255 On-link 192.168.237.1 276 ===========================================================================
IPv4 таблица маршрута =========================================================================== Активные маршруты: Сетевой адрес Маска сети Адрес шлюза Интерфейс Метрика 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.2 25 10.121.223.0 255.255.255.252 On-link 10.121.223.2 511 10.121.223.1 255.255.255.255 10.121.223.1 10.121.223.2 255 10.121.223.2 255.255.255.255 On-link 10.121.223.2 511 10.121.223.3 255.255.255.255 On-link 10.121.223.2 511 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.1.0 255.255.255.0 On-link 192.168.1.2 281 192.168.1.0 255.255.255.0 10.121.223.1 10.121.223.2 255 192.168.1.2 255.255.255.255 On-link 192.168.1.2 281 192.168.1.255 255.255.255.255 On-link 192.168.1.2 281 192.168.237.0 255.255.255.0 On-link 192.168.237.1 276 192.168.237.1 255.255.255.255 On-link 192.168.237.1 276 192.168.237.255 255.255.255.255 On-link 192.168.237.1 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.2 281 224.0.0.0 240.0.0.0 On-link 10.121.223.2 511 224.0.0.0 240.0.0.0 On-link 192.168.237.1 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.2 281 255.255.255.255 255.255.255.255 On-link 10.121.223.2 511 255.255.255.255 255.255.255.255 On-link 192.168.237.1 276 ===========================================================================
Answer the question
In order to leave comments, you need to log in
You have the following route coming to OpenVPN:
192.168.1.0 255.255.255.0 10.121.223.1 10.121.223.2 255
it redirects to the local network for the same network, so traffic for gateway 192.168.1.1 goes to the VPN. If there is no control over the other end of OpenVPN, then one of the following can be done:
1. route add -p 192.168.1.1 192.168.1.2 2.
route
delete 192.168.1.0 mask 255.255.255.0 10.121.223.1
after re-establishing the connection, it will appear again)
3. Change the addresses in the local network (on the computer and on the router) of the 192.168.1.0 grid to another.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question