Hacker News new | ask | show | jobs
by doctorpangloss 17 days ago
haha self hosted wireguard, an opportunity to find out AllowedIPs: 0.0.0.0/0 does the opposite of what you think it will do
3 comments

If you don't care to invest half an hour into learning some basics of how computer networking and in particular CIDR notation and subnet masks work, maybe it is not for you.
I see that you don't know what AllowedIPs does :)
Yeah right, I manually set up 4 servers, 2 pcs and 2 phones in a wireguard mesh network and I don't understand what it does.
Look I'm the one who made the error here. All I am saying is that AllowedIPs doesn't do what it sounds like it does.
Allow any (ip4) traffic to enter the tunnel, install a route in the default routing table to make that happen (well the second depends on the client)

Does it do the opposite of that?