This video covers setting up WireGuard and WireGuard Easy on a Synology NAS running DSM 7.2 using Container Manager.
⭐️ SUPPORT THIS CHANNEL⭐️
[ Ссылка ]
⭐️ HIRE ME FOR A PROJECT⭐️
[ Ссылка ]
The video topics include:
• Prerequisites - Install Container Manager, Enable SSH, Setup DDNS and Port Forwarding.
• Downloading or building a WireGuard SPK file for your Synology NAS.
• Installing and running WireGuard.
• Installing WireGuard Easy through Container Manager.
• Logging in to WireGuard Easy and creating a client.
• Setting up an iPhone as a WireGuard client.
In the video I mentioned or referenced the following link:
• My Google Drive with WireGuard SPK files - [ Ссылка ]
• What kind of CPU does my Synology NAS have? - [ Ссылка ]
• WeeJeWel/wg-easy (WireGuard Easy) Docker Hub page - [ Ссылка ]
• Link to docker-compose.yml that I used as a starting point for the one used in the video - [ Ссылка ]
Commands used to start up WireGuard:
• sudo /var/packages/WireGuard/scripts/start (Command to start up WireGuard)
docker-compose.yml file referenced in the video:
version: "3.8"
services:
wg-easy:
environment:
# Required:
# Change this to the ddns hostname you configured.
- WG_HOST=(ddns hostname)
- PASSWORD=(password for wg-easy web-ui)
# Optional:
# - WG_PORT=51820
# - WG_DEFAULT_ADDRESS=10.8.0.x
# - WG_DEFAULT_DNS=1.1.1.1
# - WG_MTU=1420
# - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24
# - WG_PRE_UP=echo "Pre Up" /etc/wireguard/pre-up.txt
# - WG_POST_UP=echo "Post Up" /etc/wireguard/post-up.txt
# - WG_PRE_DOWN=echo "Pre Down" /etc/wireguard/pre-down.txt
# - WG_POST_DOWN=echo "Post Down" /etc/wireguard/post-down.txt
# Note the angle brackets/greater then symbols needed to be removed in the above 4 lines because it isn't allowed in YouTube descriptions.
image: weejewel/wg-easy
container_name: wg-easy
volumes:
- .:/etc/wireguard
ports:
- "51820:51820/udp"
- "51821:51821/tcp"
restart: unless-stopped
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.ip_forward=1
- net.ipv4.conf.all.src_valid_mark=1
Timecodes
0:00 | Introduction
0:18 | Prerequisites
1:50 | Download Or Build A WireGuard SPK File For Your NAS
3:03 | Install And Run WireGuard
3:55 | Install And Run WireGuard Easy
6:04 | Log In To WireGuard Easy Web UI And Create Client
6:52 | Setup My Iphone As A WireGuard Client
7:26 | TIP – On Demand Activation
7:53 | Closing
#synology #wireguard #containermanager #docker
Ещё видео!