My internet is connected via wi-fi. OS Ubuntu 20.04
I set up a pptp connection. Connected to him. But my internet is down.
In the pptp settings it is written that you need to disable Internet access for the pptp connection.
But in the settings in ubuntu there is no such checkbox.
How can I specify that the Internet would not be used through this connection?
ip route
Working
default via 192.168.0.1 dev wlp3s0 proto dhcp metric 600
169.254.0.0/16 dev wlp3s0 scope link metric 1000
185.195.25.217 via 192.168.0.1 dev wlp3s0 src 192.168.0.156
192.168.0.0/24 dev wlp3s0 proto kernel scope link src 192.168.0.156 metric 600
Not Working
default dev ppp0 proto static scope link metric 50
default via 192.168.0.156 dev ppp0 proto static metric 50
default via 192.168.0.1 dev wlp3s0 proto dhcp metric 600
169.254.0.0/16 dev wlp3s0 scope link metric 1000
172.17.1.0/24 via 192.168.0.156 dev ppp0 proto static metric 50
185.195.25.217 via 192.168.0.1 dev wlp3s0 src 192.168.0.156
185.195.25.217 dev ppp0 proto kernel scope link src 172.17.1.14 metric 50
185.195.25.217 via 192.168.0.1 dev wlp3s0 proto static metric 600
192.168.0.0/24 dev wlp3s0 proto kernel scope link src 192.168.0.156 metric 600
192.168.0.1 dev wlp3s0 proto static scope link metric 600
sudo ip route del default dev ppp0
default via 192.168.0.156 dev ppp0 proto static metric 50
default via 192.168.0.1 dev wlp3s0 proto dhcp metric 600
169.254.0.0/16 dev wlp3s0 scope link metric 1000
172.17.1.0/24 via 192.168.0.156 dev ppp0 proto static metric 50
185.195.25.217 via 192.168.0.1 dev wlp3s0 src 192.168.0.156
185.195.25.217 dev ppp0 proto kernel scope link src 172.17.1.14 metric 50
185.195.25.217 via 192.168.0.1 dev wlp3s0 proto static metric 600
192.168.0.0/24 dev wlp3s0 proto kernel scope link src 192.168.0.156 metric 600
192.168.0.1 dev wlp3s0 proto static scope link metric 600
In documentation
This happened because our IP address blocked access to the Internet (more).
In the PPTP client settings, find and disable items like:
Use to access the Internet
Use default gateway
Use default gateway on remote network