masipcat / wireguard-go-docker

Wireguard docker image
https://hub.docker.com/r/masipcat/wireguard-go
GNU General Public License v3.0
186 stars 42 forks source link

support for arm32v6 #24

Closed orrpan closed 3 years ago

masipcat commented 3 years ago

Thank you!

masipcat commented 3 years ago

Pushed! Can you confirm it works?

orrpan commented 3 years ago

@masipcat yes, running it on an old raspberry pi 1 right now. As a server, works flawlessly when connecting with my mac.

wg0.conf

[Interface]
Address = 10.11.0.1/32
SaveConfig = true
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
ListenPort = 45290
PrivateKey = …

[Peer]
PublicKey = …
AllowedIPs = 10.11.0.2/32
masipcat commented 3 years ago

Awesome :)