synology-wireguard
synology-wireguard copied to clipboard
How to connect Synology DSM 6.2 with Wireguard
I have ovpn.com ipv4 and under debian with this configuration works fine
[Interface] PostUp = ufw route allow in on wg0 out on eth0 PostUp = iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE PostUp = ip6tables -t nat -I POSTROUTING -o eth0 -j MASQUERADE PreDown = ufw route delete allow in on wg0 out on eth0 PreDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE PreDown = ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
PrivateKey = xxxxxxxxx Address = xxx.xx.xx.xx/xx DNS = xx.xxx.xx.xxx,xxx.xxx.x.xxx
[Peer] PublicKey = xxxxxxxxx AllowedIPs = 0.0.0.0/0 Endpoint = xxxxx.xxx.xxxxxx.ovpn.com:xxxx
#Sending Keepalive every 25 sec PersistentKeepalive = 25
how to configure on Synology DSM 6.2 so that it connects have different configurations with none has connected