OpenvVPN with Synology - Stopped connecting
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
OpenvVPN with Synology - Stopped connecting
Good morning guys,
About 3 weeks I got OpenVPN up and running with my Synology with surprisingly little effort. I travel for work and love being able to log in and browse the synology as a network as if I'm sitting at home. But as of this morning I can no longer connect, as far as I can tell nothing has changed. My synology and router IP have not changed. See picture of the error. Any help will be greatly appreciated!
https://ibb.co/myT20Zt
Kevin
About 3 weeks I got OpenVPN up and running with my Synology with surprisingly little effort. I travel for work and love being able to log in and browse the synology as a network as if I'm sitting at home. But as of this morning I can no longer connect, as far as I can tell nothing has changed. My synology and router IP have not changed. See picture of the error. Any help will be greatly appreciated!
https://ibb.co/myT20Zt
Kevin
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: OpenvVPN with Synology - Stopped connecting
See your server log
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
I'm sure this isn't what you are looking for, so please explain where to find the log you are looking for if it isn't.
Thanks in advance.
https://ibb.co/mXH38QX
Thanks in advance.
https://ibb.co/mXH38QX
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
The crazy thing is I can't even connect from my local network. When I was getting set up at first that was absolutely no problem, obviously didn't require router ports to be opened up, etc. I did see another forum with yesterday's date with a guy have the same "soft,tls-error", is it something on OpenVPN's end? Its just so bizarre because i have literally changed nothing from April 2nd to today and this has happened.
Kevin
Kevin
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenvVPN with Synology - Stopped connecting
Activate SSH in DSM, login through SSH with admin account.
Then enter following:
To read the log:
Then enter following:
Code: Select all
echo log /var/log/openvpn.log > /usr/syno/etc/packages/VPNCenter/openvpn/openvpn.conf
Code: Select all
echo verb 4 > /usr/syno/etc/packages/VPNCenter/openvpn/openvpn.conf
Code: Select all
sh /var/packages/VPNCenter/target/scripts/openvpn.sh restart
Code: Select all
cat /var/log/openvpn.log
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
Ok my SSH was already enabled. Where am I to copy / paste those 4 lines?
Kevin
Kevin
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: OpenvVPN with Synology - Stopped connecting
"Permission denied" ..
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
Yeah I see that. There must be a logical explanation. Nothing has changed since Apr. 2nd???
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenvVPN with Synology - Stopped connecting
After logging in as admin try
and enter admin password again.
Synology probably changed something as I`m running older version of DSM...
Otherwise search for "login ssh root synology" or something similar.
Code: Select all
sudo -i
Synology probably changed something as I`m running older version of DSM...
Otherwise search for "login ssh root synology" or something similar.
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
Forgive me, I may need baby steps to get through PuTTY. I'm pretty tech savvy, but not so much with networks.
But not only do I love the fact that I can (could) log in remotely, I also have an upcoming job for a local small business setting up their network which I have on order a DS218+ along with 2 4TB Red's so I need to get this figured out
Kevin
But not only do I love the fact that I can (could) log in remotely, I also have an upcoming job for a local small business setting up their network which I have on order a DS218+ along with 2 4TB Red's so I need to get this figured out

Kevin
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenvVPN with Synology - Stopped connecting
I see some strange output, I would advice to reinstall VPN Server package, configure new and reexport client configuration.
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
I just uninstalled then reinstalled the openvpn package, and exported the new files. I then went ahead and uninstalled openvpn on my laptop, and deleted the openvpn directory. Then reinstalled openvpn, moved over the files (I did update the IP) and I'm getting the identical soft, tls-error.
Kevin
Kevin
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenvVPN with Synology - Stopped connecting
Did you check port forward on router?
Rule for OpenVPN added in DSM firewall?
Perhaps your ISP changed something on their network?
Rule for OpenVPN added in DSM firewall?
Perhaps your ISP changed something on their network?
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
Yes I have port forwarding set up on my router, even though that really shouldn't matter right now since i'm connected to the router with my laptop (at least that was my experience during initial setup).
I hadn't added the exception to the firewall since reinstalling, but I just did and unfortunately didn't help
I had checked my IP and it is the same...
I hadn't added the exception to the firewall since reinstalling, but I just did and unfortunately didn't help
I had checked my IP and it is the same...
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenvVPN with Synology - Stopped connecting
Please try connecting from outside your network, phone hotspot or something...
-
- OpenVpn Newbie
- Posts: 14
- Joined: Fri Apr 05, 2019 10:29 am
Re: OpenvVPN with Synology - Stopped connecting
That worked!!! WTF!
I guess I still need to be able to connect from within my network though, what gives?
Kevin
I guess I still need to be able to connect from within my network though, what gives?
Kevin
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: OpenvVPN with Synology - Stopped connecting
Why connect to your own VPN when on your own network?
Search for "what is nat loopback"
Search for "what is nat loopback"