Comment on wireguard docker client error with ip6_tables
orris@lemmy.world 5 weeks ago
Does your wireguard config have ipv6 addresses? If your not using them you can safely remove them.
For example Change
AllowedIPs = 0.0.0.0/0, ::/0
To
AllowedIPs = 0.0.0.0/0
WbrJr@lemmy.ml 4 weeks ago
Wow, thanks!! That actually solved it apparently! Why does the wireguard config change if i can ping outside the docker container though? Is it because the wireguard client inside the container opens up ip adresses or something? :) Thanks again! Itried to find a solution for many hours yesterday :D
orris@lemmy.world 4 weeks ago
Thats great! Overly simplistic explanation, the container is in its own little network and when you connect wireguard inside the container it is punching a hole out to where the wireguard server is located.
The allowed ips is a list, off the top of my head it accepts single IPs and cidr blocks. 0.0.0.0/0 is the cidr block that essentially means all ipv4 IPs, ::/0 is the same for ipv6. So to answer directly, the
,
is an or, its for any IP in the list.