You are not logged in.
Pages: 1
This is a tutorial to get up and running Wireguard VPN on Devuan using Docker.
First, Docker:
sudo apt install -y docker.io docker-compose
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
Next, Composer:
cd /opt
nano docker-compose.yml
Inside:
version: "2.1"
services:
wireguard:
container_name: wg-manager
image: perara/wg-manager
restart: always
# sysctls:
# net.ipv6.conf.all.disable_ipv6: 0 # Required for IPV6
cap_add:
- NET_ADMIN
ports:
- 51800-51900:51800-51900/udp
- 8888:8888
volumes:
- ./wg-manager:/config
environment:
HOST: 0.0.0.0
PORT: 8888
ADMIN_USERNAME: admin
ADMIN_PASSWORD: MyS3curEPa$sw0Rd*-+
WEB_CONCURRENCY: 1
Save and close.
Run it:
docker-compose up -d
On the browser:
http://URL_of_your_Server:8888
Remember:
ADMIN_USERNAME: admin
ADMIN_PASSWORD: MyS3curEPa$sw0Rd*-+
Enter web interface and generate as many profiles as you might need. Don't use IPv6 or enable it on compose, but in my experience, has some issues with connection. At least, on Linode.
Enabling it on KDE network manager over console:
nmcli connection import type wireguard file ./Downloads/wireguard_profile.conf
Done. Adjust and enjoy. Hope that helps. 😎👍
Last edited by Koratsuki84 (2023-09-24 18:24:24)
Offline
Pages: 1