Hi,
I noticed that the VPN connection is automatically disconnected after some time and I don't know why.
Before:
After:
Configuration:
Provider: BulletVPN
Connection Type: L2TP/IPSec
As you can see, I set the option "Reconnect when VPN connection is lost" and it doesn't work as I expected.
Another problem is that the VPN connection doesn't start automatically for each TNAS boot (start\restart).
Can someone of the TNAS support help me?
Thanks in advance.
VPN disconnected after some time
VPN disconnected after some time
My NAS Environment
- TNAS F4-423
- TOS 5.1.123-00529 (8GB System Partition)
- 2x RAM Terramaster 4GB DDR4 2133 MHZ
- 2x HDD WD RED PLUS 4TB CMR [RAID1]
- UPS Tecnoware ERA PLUS 1100 [770 W]
Re: VPN disconnected after some time
How long does it take to disconnect automatically after successfully connecting to the VPN? Will disconnection occur every time when connecting to the VPN?
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: VPN disconnected after some time
Hi,
I don't know how much time it takes to disconnect.
The disconnection is not related to the use of the VPN, because first the VPN works for a certain time and then, maybe after some idle time, it disconnects.
But an interesting question is: why the "Reconnect when VPN connection is lost" option doesn't work?
And why after restart of the TNAS, the VPN doesn't automatically start?
If you explain me how to catch log files, I can send you them.
Thanks
My NAS Environment
- TNAS F4-423
- TOS 5.1.123-00529 (8GB System Partition)
- 2x RAM Terramaster 4GB DDR4 2133 MHZ
- 2x HDD WD RED PLUS 4TB CMR [RAID1]
- UPS Tecnoware ERA PLUS 1100 [770 W]
Re: VPN disconnected after some time
Has that nothing to do with the stand by of the disks after installed time?
Maybe try an dyndns (duckdns is free) and try to connect via dyndns.
Maybe try an dyndns (duckdns is free) and try to connect via dyndns.
Re: VPN disconnected after some time
{L_BUTTON_AT}Hardfecx
Hi,
I don't think so, because it's true that I have set 30 minutes time before standby, but it's also true that I have Plex, Docker, VirtualBox and other so many applications that use the disks, that I don't think my TNAS disks could go in standby.
I could try to deactivate the standby timer, fron 30 minutes to never.
My NAS Environment
- TNAS F4-423
- TOS 5.1.123-00529 (8GB System Partition)
- 2x RAM Terramaster 4GB DDR4 2133 MHZ
- 2x HDD WD RED PLUS 4TB CMR [RAID1]
- UPS Tecnoware ERA PLUS 1100 [770 W]
Re: VPN disconnected after some time
{L_BUTTON_AT}Hardfecx
well yes that's true, I don't really understand stand it.It can't be your firewall because you get a first connection, so port forwarding is done too I think. Maby give it a try with duckdns...?brunix86 wrote: ↑11 Nov 2021, 15:58 Hi, I don't think so, because it's true that I have set 30 minutes time before standby, but it's also true that I have Plex, Docker, VirtualBox and other so many applications that use the disks, that I don't think my TNAS disks could go in standby. I could try to deactivate the standby timer, fron 30 minutes to never.
Re: VPN disconnected after some time
{L_BUTTON_AT}Hardfecx
Hi,
Yes, and it works fine (I see the different public IP) with installed applications (eg. multimedia applications like Plex).
But at a certain time, the VPN disconnects itself with no obvious reason.
For example, now is connected for about 20 hours, but sometimes the issue happens after few hours.
What I have to expect with duckdns ?
I already used a DDNS service but I don't need it anymore.
My NAS Environment
- TNAS F4-423
- TOS 5.1.123-00529 (8GB System Partition)
- 2x RAM Terramaster 4GB DDR4 2133 MHZ
- 2x HDD WD RED PLUS 4TB CMR [RAID1]
- UPS Tecnoware ERA PLUS 1100 [770 W]
Re: VPN disconnected after some time
DuckDns was just a pourpose but if you use already DDNS you don't nee it. As you surely know, DDNS transforms your public ip to a name...
Re: VPN disconnected after some time
{L_BUTTON_AT}Hardfecx
Hi,
Ok, now it's clear and I need both DDNS (and it works) and VPN functionalities.
So, I renew my initial answer to the TM support: why the "Reconnect when VPN connection is lost" option doesn't work?
If this option works, when the VPN is disconnected it should automatically reconnect.
And also: why the VPN doesn't start automatically for each boot of the TNAS?My NAS Environment
- TNAS F4-423
- TOS 5.1.123-00529 (8GB System Partition)
- 2x RAM Terramaster 4GB DDR4 2133 MHZ
- 2x HDD WD RED PLUS 4TB CMR [RAID1]
- UPS Tecnoware ERA PLUS 1100 [770 W]
Re: VPN disconnected after some time
[at=brunix86 post_id=14343 time=1636640273 user_id=4205][/at]
Of course the function to get back lost a vpn connection has to work.
But I asking me, why you loose the connection? May it possible that your modem/router "restarts" or "reconnets" the DSL connection and so you get automaticly a new ip? (If yes, and I am pretty sure that is the reason, you have to work with dyndns so you can get every IP of the world but it's transform your name you have registred to it in the IP. That's why I suggested you DynDns)
Now it's the work of the support to verify why a lost connection can not be etablished (well logically because you don't have the new Ip adress your modem/router got)...
Of course the function to get back lost a vpn connection has to work.
But I asking me, why you loose the connection? May it possible that your modem/router "restarts" or "reconnets" the DSL connection and so you get automaticly a new ip? (If yes, and I am pretty sure that is the reason, you have to work with dyndns so you can get every IP of the world but it's transform your name you have registred to it in the IP. That's why I suggested you DynDns)
Now it's the work of the support to verify why a lost connection can not be etablished (well logically because you don't have the new Ip adress your modem/router got)...