Difference between revisions of "Wireguard"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(Plesk)
(Plesk)
Line 6: Line 6:
 
*** change to <pre>Allow ...</pre>
 
*** change to <pre>Allow ...</pre>
 
* add firewall-rule <pre>Allow incoming from all on port 51820/udp</pre>
 
* add firewall-rule <pre>Allow incoming from all on port 51820/udp</pre>
 +
* add docker extension
 +
 +
==== shell ====
 +
* <pre>apt install docker-compose</pre>
 +
* <pre>modprobe sys_module</pre>
 +
* edit /etc/sysctl.conf <pre>net.ipv4.ip_forward=1</pre>
 +
** <pre>sysctl -p</pre>
 +
<pre>modprobe wireguard</pre>

Revision as of 08:13, 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
  • modprobe sys_module
  • edit /etc/sysctl.conf
    net.ipv4.ip_forward=1
    • sysctl -p
modprobe wireguard