I'm able to connect to a SonicWall PPP VPN via their NetExtender client. While connected, I'm not able to access certain private domains that I expect to be able to access. I believe this is because not all of my traffic is routed through the VPN (wrong assumption?). I would like to route all my traffic through the VPN to see if I can access those domains.
I have tried the solution often proposed for this problem:
ip route del default
ip route add default via 10.1.130.104 #IP of my ppp0 route
But this leaves me with no connection.
Here are some useful outputs from my system while connected to the VPN
ifconfig
:
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1280
inet 10.1.130.104 netmask 255.255.255.255 destination 192.0.2.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 25 bytes 2619 (2.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 1405 (1.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.113 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::9045:a6b4:b925:aeba prefixlen 64 scopeid 0x20<link>
ether a8:64:f1:31:0f:c4 txqueuelen 1000 (Ethernet)
RX packets 288919 bytes 370538990 (353.3 MiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 55193 bytes 8574058 (8.1 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ip route
:
default via 192.168.1.1 dev wlp0s20f3
10.1.12.0/22 via 10.1.130.104 dev ppp0 scope link
10.1.48.0/22 via 10.1.130.104 dev ppp0 scope link
10.1.100.0/24 via 10.1.130.104 dev ppp0 scope link
148.76.129.42 via 192.168.1.1 dev wlp0s20f3
192.0.2.1 dev ppp0 proto kernel scope link src 10.1.130.104
192.168.1.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.1.113 metric 600
192.168.1.1 dev wlp0s20f3 scope link
How can I route all my traffic through the VPN?
Thanks!