Difference between revisions of "Wireguard"
(→Plesk) |
(→shell) |
||
Line 9: | Line 9: | ||
==== shell ==== | ==== shell ==== | ||
− | * < | + | * <code>apt install docker-compose</code> |
− | |||
* 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 ...
- change to
- 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