Created
January 16, 2023 00:22
-
-
Save d4vidsha/553cda739e9cd73e253177be360d226a to your computer and use it in GitHub Desktop.
Revisions
-
d4vidsha created this gist
Jan 16, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ version: "2.1" services: wireguard: image: lscr.io/linuxserver/wireguard container_name: wireguard cap_add: - NET_ADMIN - SYS_MODULE environment: - PUID=1000 - PGID=1000 - TZ=Australia/Sydney - SERVERURL=wireguard.myserver.com #set to auto if server has static IP, otherwise use a DDNS hostname - SERVERPORT=51822 - PEERS=macbook,iphone,ipad - PEERDNS=auto - INTERNAL_SUBNET=10.13.13.0 #optional - ALLOWEDIPS=0.0.0.0/0 #full tunnel always volumes: - /srv/disk/Appdata/wireguard/config:/config - /lib/modules:/lib/modules #do not change ports: - 51822:51820/udp restart: unless-stopped