by the_angry_angel · 6y ago · 0 comments
The two typical scenarios are;
1. You want to use the same IP space multiple times across different networks (i.e. multi-tenant)
2. You have a bunch of different networks that you really never want to ever be able to talk to each other (you can allow it through routes, etc. but by default this does not happen). Although you can achieve this with VLANs and ACLs, on a single routing table, rules can become a real pain in the ass to manage very quickly
You could use this for stuff like guest or IoT networks.
I'm currently wrangling with a good solution for selectively routing certain traffic via one of multiple VPN connections I have on my router.
I'll look into rdomains to see if this may help my situation if not only to make it more simple.
These days, I have removed this functionality from my router and moved it directly onto the server. I run the container haugene/transmission-openvpn which creates and maintains a VPN for transmission, but also has a proxy I can direct other containers to use. This has the benefit of keeping more of the prerequisites of these servers managed in the same docker compose file. It bakes in most of the popular public VPN configs, so you can enable them with a few ENV vars.