Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
doctorpangloss
· 4mo ago · 0 comments
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
Comments
[–]
sva_
4mo ago
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.
[–]
doctorpangloss
OP
4mo ago
I see that you don't know what AllowedIPs does :)
[–]
sva_
4mo ago
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.
[–]
doctorpangloss
OP
4mo ago
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.
[–]
hdgvhicv
4mo ago
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?
[–]
petee
4mo ago
Is this what your referring to?
https://utcc.utoronto.ca/~cks/space/blog/linux/WireGuardAllo...