Difference between revisions of "Wireguard"

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

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