Created
May 21, 2023 08:21
-
-
Save 4piu/1ce601f2361751d7b71bd8ce0d792d99 to your computer and use it in GitHub Desktop.
How to Setup Wireguard VPN on Synology using Docker (without compiling/installing packages)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The following command starts a wireguard-go container using wg0.conf | |
# I still can't find a boringtun container that works for Synology DSM 7.1 | |
sudo docker run -d \ | |
--cap-add NET_ADMIN \ | |
--device=/dev/net/tun \ | |
-v ❗/volume1/docker/wireguard/wg0.conf❗:/etc/wireguard/wg0.conf \ | |
--sysctl net.ipv4.ip_forward=1 \ | |
--name wireguard-go \ | |
masipcat/wireguard-go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment