I know this is long shot, but could someone ELI5 how to setup Wiregard LSIO container?
it will help if you clearly explain what part of the readme you did not understand.
I am noob, so I am wondering if I install Wiregard, I can access my server like I am home, right?
Second, I already have several containers installed behind ngix like airsonic.mydomain.duckdns.org. Will I loose them, i.d. did Wiregard conflict with swag
I shell try it anyway, but I am scared to destroy something in already working containers.
Noob as I said
wireguard is just a vpn, nothing special to it. it wonβt prevent access to anything unless you configure it to do so. by default, barring host issues, it will give you access to your home server as if you were at home. iirc the default config will make all your connections appear as if you were at home (including the internet)
Thanks. I am just installing it.
I canβt open WG interface locally
192.168.100.150:51820 Canβt connect
My docker-compose.yml
---
services:
wireguard:
image: lscr.io/linuxserver/wireguard:latest
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE #optional
environment:
- PUID=1001
- PGID=1001
- TZ=Berlin
- SERVERURL=auto #optional
- SERVERPORT=51820 #optional
- PEERS=3 #optional
- PEERDNS=auto #optional
- INTERNAL_SUBNET=10.13.13.0 #optional
- ALLOWEDIPS=0.0.0.0/0 #optional
- PERSISTENTKEEPALIVE_PEERS=all #optional
- LOG_CONFS=true #optional
volumes:
- /srv/appdata/wireguard/config:/config
- /lib/modules:/lib/modules #optional
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
provide container logs, ensure you are off wifi when you test, ensure you dnat 51820 from your router to your docker host (and specify udp)
[migrations] started
[migrations] no migrations found
βββββββββββββββββββββββββββββββββββββββ
βββ βββββββββββ βββββββ
βββ ββββββββββββββββββββ
βββ ββββββββββββββ βββ
βββ ββββββββββββββ βββ
ββββββββββββββββββββββββββββ
βββββββββββββββββββ βββββββ
Brought to you by linuxserver.io
βββββββββββββββββββββββββββββββββββββββ
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
βββββββββββββββββββββββββββββββββββββββ
GID/UID
βββββββββββββββββββββββββββββββββββββββ
User UID: 1001
User GID: 1001
βββββββββββββββββββββββββββββββββββββββ
Uname info: Linux 7d81e09ba3e2 4.19.0-26-amd64 #1 SMP Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux
RTNETLINK answers: Not supported
**** The wireguard module is not active. If you believe that your kernel should have wireguard support already, make sure that it is activated via modprobe! ****
**** If you have an old kernel without wireguard support built-in, you can try using the legacy tag for this image to compile the modules from scratch. ****
Debian GNU/Linux 10 (buster)