I'm not a network engineer but I'm trying to configure my linux machine to have internet access while being connected to my VPN.
My current idea to solve this is to connect to my VPN while configuring my machine NOT to re-configure my routes after connecting to my VPN, then I would manually configure my machine's routes to access my VPN when I need to (i.e. for a specific IP range).
So I'm currently trying to understand the following routing table:
$ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 50 0 0 ppp0 0.0.0.0 192.168.16.1 0.0.0.0 UG 600 0 0 wlp8s0 10.100.0.0 0.0.0.0 255.255.255.255 UH 50 0 0 ppp0 188.8.131.52 192.168.16.1 255.255.255.255 UGH 0 0 0 wlp8s0 192.168.16.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp8s0
How is it possible to have a
0.0.0.0 gateway for my VPN (ppp0) interface ?!
Every possible information about my mentioned routing table is much appreciated. But in English please :D