Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

How to connect Synology DSM 6.2 with Wireguard #192

@hdswiss

Description

@hdswiss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions