Difference between revisions of "Wireguard"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(shell)
(shell)
Line 10: Line 10:
 
==== shell ====
 
==== shell ====
 
* <code>apt install docker-compose</code>
 
* <code>apt install docker-compose</code>
* edit /etc/sysctl.conf <pre>net.ipv4.ip_forward=1</pre>
+
* edit /etc/sysctl.conf <code>net.ipv4.ip_forward=1</code>
** <pre>sysctl -p</pre>
+
** <code>sysctl -p</code>
<pre>modprobe wireguard</pre>
+
<code>modprobe wireguard</code>
 +
<code></code>

Revision as of 08:15, 21 October 2023

plesk, docker, wireguard

prerequisite

Plesk

  • watch out for plesk-default-firewall-rules!
    • System policy for traffic forwarding = Deny forwarding of all other traffic
      • change to
        Allow ...
  • add firewall-rule
    Allow incoming from all on port 51820/udp
  • add docker extension

shell

  • apt install docker-compose
  • edit /etc/sysctl.conf net.ipv4.ip_forward=1
    • sysctl -p

modprobe wireguard