<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6024&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Wireguard server with Docker on Devuan]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6024</link>
		<description><![CDATA[The most recent posts in Wireguard server with Docker on Devuan.]]></description>
		<lastBuildDate>Sun, 24 Sep 2023 18:20:19 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Wireguard server with Docker on Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44523#p44523</link>
			<description><![CDATA[<p>This is a tutorial to get up and running Wireguard VPN on Devuan using Docker.</p><p>First, Docker:</p><div class="codebox"><pre><code>sudo apt install -y docker.io docker-compose
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker</code></pre></div><p>Next, Composer:</p><div class="codebox"><pre><code>cd /opt
nano docker-compose.yml</code></pre></div><p>Inside:</p><div class="codebox"><pre><code>version: &quot;2.1&quot;
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</code></pre></div><p>Save and close.</p><p>Run it:</p><div class="codebox"><pre><code>docker-compose up -d</code></pre></div><p>On the browser:</p><div class="codebox"><pre><code>http://URL_of_your_Server:8888</code></pre></div><p>Remember:</p><div class="codebox"><pre><code>ADMIN_USERNAME: admin
ADMIN_PASSWORD: MyS3curEPa$sw0Rd*-+</code></pre></div><p>Enter web interface and generate as many profiles as you might need. Don&#039;t use IPv6 or enable it on compose, but in my experience, has some issues with connection. At least, on Linode.</p><p>Enabling it on KDE network manager over console:</p><div class="codebox"><pre><code>nmcli connection import type wireguard file ./Downloads/wireguard_profile.conf</code></pre></div><p>Done. Adjust and enjoy. Hope that helps. 😎👍</p>]]></description>
			<author><![CDATA[dummy@example.com (Koratsuki84)]]></author>
			<pubDate>Sun, 24 Sep 2023 18:20:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44523#p44523</guid>
		</item>
	</channel>
</rss>
