Answer the question
In order to leave comments, you need to log in
How to set up VPN PPTP (LINUX) so that the Internet is not cut off?
In Windowse, I simply unchecked the "Use the default gateway of the remote network"
Given:
vpn server address (Gateway)
Login
Password
Admin did not reset my network mask and it looks like DNS is not a gateway?
How can I just do it like in Windows and remove the remote network gateway.
What can be done?
Yes, there are a lot of records on the Internet, but I have not figured it out yet (
Answer the question
In order to leave comments, you need to log in
configure routing manually so that default with a higher priority when the VPN is connected is not the network interface of the VPN, but of the router ...
connect the VPN and show
ip route
and then the same, but without vpn
Default:
ip route
default via 192.168.0.1 dev enp2s0f2 proto dhcp metric 100
192.168.0.0/24 dev enp2s0f2 proto kernel scope link src 192.168.0.102 metric 100
default dev ppp0 proto static scope link metric 50
default via 192.168.0.1 dev enp2s0f2 proto dhcp metric 100
81.88.81.131 via 192.168.0.1 dev enp2s0f2 src 192.168.0.102
81.88.81.131 dev ppp0 proto kernel scope link src 192.168.51.83 metric 50
81.88.81.131 via 192.168.0.1 dev enp2s0f2 proto static metric 100
192.168.0.0/24 dev enp2s0f2 proto kernel scope link src 192.168.0.102 metric 100
192.168.0.1 dev enp2s0f2 proto static scope link metric 100
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question