3 ms·
What’s the best “WireGuard as a VPN configuration” doc out there? Many are not clear about what is being set up, why the cidrs are chosen, how it works without
by 3fe9a03ccd14ca5 7y ago
What’s the best “WireGuard as a VPN configuration” doc out there? Many are not clear about what is being set up, why the cidrs are chosen, how it works without DHCP etc. other guides focus on only proxying rfc1918 traffic and not your entire connection. Is my DNS leaking? Is ALL traffic going through it?
OpenVPN, with all of its issues, is simple to set up in a way that’s not leaky.
- brunoqc 7y agoThe best is probably with network namespaces where you don't have network access by default, only wireguard has. https://www.wireguard.com/netns/#routing-all-your-traffic https://www.wireguard.com/netns/#routing-all-your-traffic There's probably some guides out there.
- carlhjerpe 7y agoIf you put two /1 routes towards the private vpn endpoint and one route for your public vpn endpoint to your public ip it'll route all traffic over the vpn because it's the more specific route. The rest is your ip rules and your issue if you don't want any traffic in your physically attached subnet to go over the shortest distance. It's not really up to the protocol, it's the tooling around it.