Computer NetworksNETWORKS

2021 | ULTRA FAST | SELF HOST | WIREGUARD VPN SETUP USING DOCKER | PORTAINER | MOBILE | UNDER 2 MINS

In this video we will setup WireGuard VPN using docker image on portainer (GUI) to access home network self hosted apps remotely using mobile device .

docker run -d
–name=wireguard
–cap-add=NET_ADMIN
–cap-add=SYS_MODULE
-e PUID=1000
-e PGID=1000
-e TZ=America/Toronto
-e SERVERURL=wireguard.example.com
-e SERVERPORT=51820
-e PEERS=1
-e PEERDNS=auto
-e INTERNAL_SUBNET=10.13.13.0
-e ALLOWEDIPS=0.0.0.0/0
-p 51820:51820/udp
-v /path/to/appdata/config:/config
-v /lib/modules:/lib/modules
–sysctl=”net.ipv4.conf.all.src_valid_mark=1″
–restart unless-stopped
ghcr.io/linuxserver/wireguard

To get QR code:
docker exec -it wireguard /app/show-peer 1

source

ipv4

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply

Your email address will not be published. Required fields are marked *