Open kostaleonard opened 1 year ago
An update to linuxserver/wireguard breaks the VPN because the peer configuration file is not generated correctly. The PEER argument in the bootstrap needs to be changed from a string to an int. Here is a version that works on the EC2 instance:
ubuntu@ip-10-0-1-9:~$ sudo docker run -d --rm --name=bulwark --cap-add=NET_ADMIN --cap-add=SYS_MODULE -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -e PEERS=1 -e SERVERURL=3.139.88.229 -e SERVERPORT=51820 -e INTERNAL_SUBNET=10.13.13.0 -e ALLOWEDIPS=10.0.0.0/8 -e PEERDNS=auto -p 51820:51820/udp -v /etc/wireguard:/config -v /lib/modules:/lib/modules --sysctl="net.ipv4.conf.all.src_valid_mark=1" linuxserver/wireguard 11325e5af39a4ae62ddf0c094eae454e71f307ce346de617fb50ba763147656c ubuntu@ip-10-0-1-9:~$ ls /etc/wireguard coredns peer1 server templates wg0.conf ubuntu@ip-10-0-1-9:~$ ls /etc/wireguard/peer1 peer1.conf peer1.png presharedkey-peer1 privatekey-peer1 publickey-peer1
An update to linuxserver/wireguard breaks the VPN because the peer configuration file is not generated correctly. The PEER argument in the bootstrap needs to be changed from a string to an int. Here is a version that works on the EC2 instance: