Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Automatic restart of VPN Tunnel if connection fails

Featured Replies

I have setup a VPN Tunnel using the built-in VPN Manager. I then have a number of containers using the tunnel as their network. Everything works as it should...until the VPN Tunnel suddenly stops working (I can see the connection itself stops working as the built-in PING button to the VPN server gives no response).

This seems to happen after a certain amount of time, but also whenever I restart the Unraid server. As soon as I restart the VPN Tunnel, simply done by setting it as Inactive and then immediately as Active, the containers get internet access again.

I guess I have two questions regarding this:

  1. Anyone else experiencing the same thing?

  2. Could I setup a script to automatically restart the VPN Tunnel if its connection is lost?

  • 3 weeks later...
  1. Yes I see this same thing. My Tunnel stays active for a variable amount of time (usually weeks). Then I notice the Handshake time stamp is longer than a few seconds or minutes, which is strong indicator that something is wrong.

  2. A scripted way to restart this would be great.

  3. Or maybe a notification could be sent?

Edited by fromthewoods
clarity

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.