Skip to content

Commit

Permalink
Wireguard
Browse files Browse the repository at this point in the history
  • Loading branch information
subdavis committed Nov 30, 2020
1 parent 7b0f09f commit 58b9597
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 9 deletions.
File renamed without changes.
29 changes: 28 additions & 1 deletion docker/docker-compose.yml → docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,34 @@ services:
- "${PRIMARY_MOUNT}/unifi/config/:/config"
networks:
- unifi-net


#############################
## WIREGUARD
#############################

wireguard:
image: linuxserver/wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=${TIME_ZONE}
- SERVERURL="wireguard.${DNS_DOMAIN}"
- SERVERPORT=51820
- PEERS=2
- PEERDNS=192.168.1.175
- INTERNAL_SUBNET=10.13.13.0
ports:
- "54155:51820/udp"
volumes:
- ${PRIMARY_MOUNT}/%N/config:/config
- /lib/modules:/lib/modules
sysctls:
- "net.ipv4.ip_forward=1"
- "net.ipv4.conf.all.src_valid_mark=1"

networks:
adguard-net:
name: adguard-net
Expand Down
5 changes: 0 additions & 5 deletions scripts/install.sh

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/nav

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 58b9597

Please sign in to comment.