Hello all! I've got a rather complicated networking related issue. Our story starts when I inherit a old Dell machine from a family member. Aiming to save the machine from rotting in a landfill, i bought a 4tb drive off ebay and threw a new image of ubuntu server22.04 on it. It now lives happily plugged into my router.
To get some use out of it, I setup a samba share, and started hosting my school files on there. It also acts as a seedbox for my legally and ethically sourced torrents. As it's a seedbox, I'm connecting to PIA using their wireguard configuration. Specifically, I'm using their piactl interface.
Alas, trouble is afoot! I would like to access my network share while I'm on campus, say in the library in my downtime between classes. To this end, I configured the machine as a wireguard host. Unfortunately, it doesn't seem like I can have both interfaces active at once. PIA will always take priority over my personal setup. That is to say, when PIA is active, I cannot ping any of the personal client machines from the host, or vice versa, but other traffic (ping google.com) works perfectly fine. When PIA is not active, everything functions exactly as expected: the client and host can communicate, and I can access my network share (note: I am not sending any other traffic through the personal VPN. Just the traffic between the host and client).
Is there a solution? The rest of this post is the routing tables. Please let me know any additional information I can provide that might help me get to the bottom of this mystery. Thanks a bunch for reading this wall of text!
With neither vpn on:
With PIA on:
With my personal wireguard on:
With both:
To get some use out of it, I setup a samba share, and started hosting my school files on there. It also acts as a seedbox for my legally and ethically sourced torrents. As it's a seedbox, I'm connecting to PIA using their wireguard configuration. Specifically, I'm using their piactl interface.
Alas, trouble is afoot! I would like to access my network share while I'm on campus, say in the library in my downtime between classes. To this end, I configured the machine as a wireguard host. Unfortunately, it doesn't seem like I can have both interfaces active at once. PIA will always take priority over my personal setup. That is to say, when PIA is active, I cannot ping any of the personal client machines from the host, or vice versa, but other traffic (ping google.com) works perfectly fine. When PIA is not active, everything functions exactly as expected: the client and host can communicate, and I can access my network share (note: I am not sending any other traffic through the personal VPN. Just the traffic between the host and client).
Is there a solution? The rest of this post is the routing tables. Please let me know any additional information I can provide that might help me get to the bottom of this mystery. Thanks a bunch for reading this wall of text!
With neither vpn on:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 enp4s0
8.8.8.8 192.168.0.1 255.255.255.255 UGH 100 0 0 enp4s0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp4s0
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
192.168.0.10 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
With PIA on:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 enp4s0
8.8.8.8 192.168.0.1 255.255.255.255 UGH 100 0 0 enp4s0
10.0.0.243 0.0.0.0 255.255.255.255 UH 0 0 0 wgpia0
10.33.128.1 0.0.0.0 255.255.255.255 UH 0 0 0 wgpia0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp4s0
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
192.168.0.10 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
With my personal wireguard on:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 enp4s0
8.8.8.8 192.168.0.1 255.255.255.255 UGH 100 0 0 enp4s0
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wg0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp4s0
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
192.168.0.10 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
With both:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 enp4s0
8.8.8.8 192.168.0.1 255.255.255.255 UGH 100 0 0 enp4s0
10.0.0.243 0.0.0.0 255.255.255.255 UH 0 0 0 wgpia0
10.34.128.1 0.0.0.0 255.255.255.255 UH 0 0 0 wgpia0
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wg0
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp4s0
192.168.0.1 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
192.168.0.10 0.0.0.0 255.255.255.255 UH 100 0 0 enp4s0
Last edited: