Difference between revisions of "Wireguard"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(shell)
(prerequisite)
Line 3: Line 3:
 
==== Plesk ====
 
==== Plesk ====
 
* watch out for plesk-default-firewall-rules!
 
* watch out for plesk-default-firewall-rules!
** <pre>System policy for traffic forwarding = Deny forwarding of all other traffic</pre>
+
** <code>System policy for traffic forwarding = Deny forwarding of all other traffic</code>
*** change to <pre>Allow ...</pre>
+
*** change to <code>Allow ...</code>
* add firewall-rule <pre>Allow incoming from all on port 51820/udp</pre>
+
* add firewall-rule <code>Allow incoming from all on port 51820/udp</code>
 
* add docker extension
 
* add docker extension
  

Revision as of 08:20, 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
    • reload sysctl -p
  • check kernel module modprobe wireguard