BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Wireguard and Traveling and Network Overlaps oh my!
- Subject: [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- From: richard.pieri at gmail.com (Rich Pieri)
- Date: Mon, 21 Oct 2024 16:17:20 -0400
- In-reply-to: <bff819c5-2e6c-40a3-8852-2bd94a8116c3@borg.org>
- References: <20241020173752.44225391.Richard.Pieri@gmail.com> <03f1891735aa9d96d8dee07dfefc98f8.squirrel@mail.mohawksoft.com> <bff819c5-2e6c-40a3-8852-2bd94a8116c3@borg.org>
On Mon, 21 Oct 2024 11:46:09 -0700 Kent Borg <kentborg at borg.org> wrote: > Just so long as you don't need access to the local version of those > addresses. (The hotel's gateway to get to the rest of the internet? > DNS? Room service?) Exactly. In my case my home network address space is local to the hotel network and therefore home network traffic won't be routed through the VPN unless I do something like this: sudo ip route add 192.168.1.0/24 via 10.6.0.1 but this would knock me off the network because the hotel gateway IP is 192.168.1.1 and traffic for this IP would be routed through the VPN tunnel -- including the tunnel itself. I'd turn the tunnel into a torus which isn't a useful network topology that I know of. 10.6.0.0/24 is my VPN network. The VPN itself was fine: I could still ssh into my network to verify that much. Given some of the suggestions so far, I think I could have used the routing table to route specific IP addresses through the tunnel interface maybe like this: sudo ip route add 192.168.1.52 via 10.6.0.1 # DNS/pi-hole sudo ip route add 192.168.1.202 via 10.6.0.1 # IMAP sudo ip route add 192.168.1.51 via 10.6.0.1 # Nextcloud Will try this next time I find myself with address collisions. -- \m/ (--) \m/
- References:
- [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- From: markw at mohawksoft.com (markw at mohawksoft.com)
- [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- Prev by Date: [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- Next by Date: [Discuss] confused as usual
- Previous by thread: [Discuss] Wireguard and Traveling and Network Overlaps oh my!
- Next by thread: [Discuss] confused as usual
- Index(es):