Difference between revisions of "Wireguard"

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

Revision as of 08:14, 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