1.wireGuard

This commit is contained in:
Artur Kuś 2025-09-08 12:22:08 +02:00
parent e397d8c397
commit a126b54cb8
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
version: "3.8"
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Warsaw
- SERVERURL=vpn.arti24.eu # podmień na publiczny adres IP lub domenę
- SERVERPORT=51820
- PEERS=1
- PEERDNS=auto
volumes:
- ./config:/config
ports:
- "51820:51820/udp"
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: always