Jump to content
Not connected, Your IP: 18.220.224.50
Sign in to follow this  
Sillion

Synology DSM WireGuard problem

Recommended Posts

Posted ... (edited)

I have installed WireGuard on my Synology. Does anyoe know if there is a way to connect? My configuration looks like this, but no connection is being established, and I am getting an error message.
 

Quote

[Interface]
PostUp = iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
PostUp = ip6tables -t nat -I POSTROUTING -o eth0 -j MASQUERADE
PreDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
PreDown = ip6tables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

Address = xxxxxxxx
PrivateKey = xxxxxxxx
MTU = 1320
DNS = xxxxxxxx, xxxxxxxx::x

[Peer]
PublicKey = xxxxxxxx
PresharedKey = xxxxxxxx
Endpoint = nl3.vpn.airdns.org:1637
AllowedIPs = 0.0.0.0/0,::/0
PersistentKeepalive = 15

error message

root@MYNAS:~# wg-quick up AirVPN_Netherlands
[#] ip link add AirVPN_Netherlands type wireguard
[#] wg setconf AirVPN_Netherlands /dev/fd/63
[#] ip -4 address add xxx.xxx.xxx.xx/xx dev AirVPN_Netherlands
[#] ip -6 address add xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/xxx dev AirVPN_Netherlands
[#] ip link set mtu 1320 up dev AirVPN_Netherlands
[#] wg set AirVPN_Netherlands_UDP-1637-Entry3 fwmark 51820
[#] ip -6 route add ::/0 dev AirVPN_Netherlands table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
Error: argument "suppress_prefixlength" is wrong: Failed to parse rule type
[#] ip -6 rule delete table 51820
[#] ip link delete dev AirVPN_Netherlands

Edited ... by Sillion

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...