I've been having trouble moving over to wireguard... Every time I try to start up it hangs at a certain point, container keeps running it just wont go any further.
I get a parse error for Invalid literal at line 4, column 0
It seems like it connects to the server, and then it just hangs at the /root/wireguardup.sh
2020-10-28 19:52:52,396 INFO success: start-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-28 19:52:52,396 INFO success: watchdog-script entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2020-10-28 19:52:52,400 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.222 to /etc/resolv.conf
2020-10-28 19:52:52,403 DEBG 'start-script' stdout output:
[info] Adding 84.200.69.80 to /etc/resolv.conf
2020-10-28 19:52:52,406 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.174 to /etc/resolv.conf
2020-10-28 19:52:52,410 DEBG 'start-script' stdout output:
[info] Adding 1.1.1.1 to /etc/resolv.conf
2020-10-28 19:52:52,413 DEBG 'start-script' stdout output:
[info] Adding 209.222.18.218 to /etc/resolv.conf
2020-10-28 19:52:52,416 DEBG 'start-script' stdout output:
[info] Adding 37.235.1.177 to /etc/resolv.conf
2020-10-28 19:52:52,419 DEBG 'start-script' stdout output:
[info] Adding 84.200.70.40 to /etc/resolv.conf
2020-10-28 19:52:52,422 DEBG 'start-script' stdout output:
[info] Adding 1.0.0.1 to /etc/resolv.conf
2020-10-28 19:52:52,521 DEBG 'start-script' stderr output:
parse error: Invalid literal at line 4, column 0
2020-10-28 19:52:53,291 DEBG 'start-script' stdout output:
[info] Trying to connect to the PIA WireGuard API on 'nl-amsterdam.privacy.network'...
2020-10-28 19:52:53,842 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2020-10-28 19:52:53,291 DEBG 'start-script' stdout output:
[info] Trying to connect to the PIA WireGuard API on 'nl-amsterdam.privacy.network'...
2020-10-28 19:52:53,842 DEBG 'start-script' stdout output:
[info] Default route for container is 172.17.0.1
2020-10-28 19:52:53,856 DEBG 'start-script' stdout output:
[info] Docker network defined as 172.17.0.0/16
2020-10-28 19:52:53,860 DEBG 'start-script' stdout output:
[info] Adding 192.168.1.0/24 as route via docker eth0
2020-10-28 19:52:53,861 DEBG 'start-script' stdout output:
[info] ip route defined as follows...
--------------------
2020-10-28 19:52:53,862 DEBG 'start-script' stdout output:
default via 172.17.0.1 dev eth0
172.17.0.0/16 dev eth0 proto kernel scope link src 172.17.0.2
192.168.1.0/24 via 172.17.0.1 dev eth0
2020-10-28 19:52:53,862 DEBG 'start-script' stdout output:
--------------------
2020-10-28 19:52:53,865 DEBG 'start-script' stdout output:
iptable_mangle 16384 1
ip_tables 24576 4 iptable_filter,iptable_raw,iptable_nat,iptable_mangle
2020-10-28 19:52:53,865 DEBG 'start-script' stdout output:
[info] iptable_mangle support detected, adding fwmark for tables
2020-10-28 19:52:53,909 DEBG 'start-script' stdout output:
[info] iptables defined as follows...
--------------------
2020-10-28 19:52:53,910 DEBG 'start-script' stdout output:
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT DROP
-A INPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A INPUT -i eth0 -p udp -m udp --sport 1337 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A INPUT -i eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A INPUT -s 192.168.1.0/24 -i eth0 -p tcp -m tcp --dport 58846 -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i wg0 -j ACCEPT
-A OUTPUT -s 172.17.0.0/16 -d 172.17.0.0/16 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m udp --dport 1337 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --dport 8112 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m tcp --sport 8112 -j ACCEPT
-A OUTPUT -d 192.168.1.0/24 -o eth0 -p tcp -m tcp --sport 58846 -j ACCEPT
-A OUTPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o wg0 -j ACCEPT
2020-10-28 19:52:53,911 DEBG 'start-script' stdout output:
--------------------
2020-10-28 19:52:53,914 DEBG 'start-script' stdout output:
[info] Attempting to bring WireGuard interface 'up'...
2020-10-28 19:52:53,924 DEBG 'start-script' stderr output:
Warning: `/config/wireguard/wg0.conf' is world accessible
2020-10-28 19:52:53,930 DEBG 'start-script' stderr output:
[#] ip link add wg0 type wireguard
2020-10-28 19:52:53,932 DEBG 'start-script' stderr output:
[#] wg setconf wg0 /dev/fd/63
2020-10-28 19:52:53,939 DEBG 'start-script' stderr output:
[#] ip -4 address add 10.21.202.15 dev wg0
2020-10-28 19:52:53,945 DEBG 'start-script' stderr output:
[#] ip link set mtu 1420 up dev wg0
2020-10-28 19:52:53,958 DEBG 'start-script' stderr output:
[#] wg set wg0 fwmark 51820
2020-10-28 19:52:53,959 DEBG 'start-script' stderr output:
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
2020-10-28 19:52:53,960 DEBG 'start-script' stderr output:
[#] ip -4 rule add not fwmark 51820 table 51820
2020-10-28 19:52:53,961 DEBG 'start-script' stderr output:
[#] ip -4 rule add table main suppress_prefixlength 0
2020-10-28 19:52:53,964 DEBG 'start-script' stderr output:
[#] sysctl -q net.ipv4.conf.all.src_valid_mark=1
2020-10-28 19:52:53,965 DEBG 'start-script' stderr output:
[#] iptables-restore -n
2020-10-28 19:52:53,967 DEBG 'start-script' stderr output:
[#] '/root/wireguardup.sh'
It just sits there. Doesn't add anything else to the log
Everything was set up properly, I'm pretty sure I followed all the instructions on the FAQ too.
I'm hoping it is just something silly that I overlooked. Anything I should look into?