Difference between revisions of "Wireguard"
(→shell) |
(→shell) |
||
Line 10: | Line 10: | ||
==== shell ==== | ==== shell ==== | ||
* <code>apt install docker-compose</code> | * <code>apt install docker-compose</code> | ||
− | * edit /etc/sysctl.conf < | + | * edit /etc/sysctl.conf <code>net.ipv4.ip_forward=1</code> |
− | ** < | + | ** <code>sysctl -p</code> |
− | < | + | <code>modprobe wireguard</code> |
+ | <code></code> |
Revision as of 08:15, 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