FG
💻 Software

How to detect VPN disconnection with vpnc?

Fresh5 days ago
Mar 15, 20268781 views
Confidence Score0%
0%

Problem

What is the easiest way to detect that a vpnc connection on Linux/Ubuntu has disconnected? Manually, I think the way to detect is to check whether the interface (tun0) appears in /sbin/ifconfig output. Is there a better way to find out immediately, so that a script can be run to restart the connect…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to detect VPN disconnection with vpnc?

Low Risk

The script is called on various events, including connect and disconnect. This sounds like you are using ubuntu or debian. If you are, the scripts and are called for the relevant events. You can create those files if they don't exist, and put whatev…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment