I am trying to setup wireguard on my rpi3 using docker so that I can VPN into my home network away from home but everytime I try to setup wireguard using linuxservers/wireguard docker image I get stuck at the point after IPtables are modified. It just sits there and nothing happens to show the installation is complete.
Here is a copy of the latest log. I see the same issue if I use the wirehole compose script (eventually I want to get pihole and wireguard working together) or just plain old wireguard as well. I am missing something but not sure whats going on.
Attaching to wireguard wireguard | [s6-init] making user provided files available at /var/run/s6/etc...exited 0. wireguard | [s6-init] ensuring user provided files have correct perms...exited 0. wireguard | [fix-attrs.d] applying ownership & permissions fixes... wireguard | [fix-attrs.d] done. wireguard | [cont-init.d] executing container initialization scripts... wireguard | [cont-init.d] 01-envfile: executing... wireguard | [cont-init.d] 01-envfile: exited 0. wireguard | [cont-init.d] 10-adduser: executing... wireguard | wireguard | ------------------------------------- wireguard | _ () wireguard | | | ___ _ __ wireguard | | | / __| | | / \ wireguard | | | \__ \ | | | () | wireguard | |_| |___/ |_| \__/ wireguard | wireguard | wireguard | Brought to you by linuxserver.io wireguard | ------------------------------------- wireguard | wireguard | To support the app dev(s) visit: wireguard | WireGuard: https://www.wireguard.com/donations/ wireguard | wireguard | To support LSIO projects visit: wireguard | https://www.linuxserver.io/donate/ wireguard | ------------------------------------- wireguard | GID/UID wireguard | ------------------------------------- wireguard | wireguard | User uid: 1000 wireguard | User gid: 1000 wireguard | ------------------------------------- wireguard | wireguard | [cont-init.d] 10-adduser: exited 0. wireguard | [cont-init.d] 30-config: executing... wireguard | Uname info: Linux ------------- 5.10.17-v7+ #1403 SMP Mon Feb 22 11:29:51 GMT 2021 armv7l armv7l armv7l GNU/Linux wireguard | **** It seems the wireguard module is already active. Skipping kernel header install and module compilation. **** wireguard | **** Server mode is selected **** wireguard | **** SERVERURL var is either not set or is set to "auto", setting external IP to auto detected value of 66.110.254.111 **** wireguard | **** External server port is set to 51820. Make sure that port is properly forwarded to port 51820 inside this container **** wireguard | **** Internal subnet is set to 10.13.13.0 **** wireguard | **** AllowedIPs for peers 0.0.0.0/0 **** wireguard | **** PEERDNS var is either not set or is set to "auto", setting peer DNS to 10.13.13.1 to use wireguard docker host's DNS. **** wireguard | **** No wg0.conf found (maybe an initial install), generating 1 server and 1 peer/client confs **** wireguard | grep: /config/peer*/*.conf: No such file or directory wireguard | PEER 1 QR code:
[cont-init.d] 30-config: exited 0. wireguard | [cont-init.d] 90-custom-folders: executing... wireguard | [cont-init.d] 90-custom-folders: exited 0. wireguard | [cont-init.d] 99-custom-scripts: executing... wireguard | [custom-init] no custom files found exiting... wireguard | [cont-init.d] 99-custom-scripts: exited 0. wireguard | [cont-init.d] done. wireguard | [services.d] starting services wireguard | [services.d] done. wireguard | [#] ip link add wg0 type wireguard wireguard | [#] wg setconf wg0 /dev/fd/63 wireguard | [#] ip -4 address add 10.13.13.1 dev wg0 wireguard | [#] ip link set mtu 1420 up dev wg0 wireguard | [#] ip -4 route add 10.13.13.2/32 dev wg0 wireguard | [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE wireguard | .:53 wireguard | CoreDNS-1.8.4 wireguard | linux/arm, go1.16.4, 053c4d5