[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Determine status of a tunnel


  • Subject: Re: [Openvpn-users] Determine status of a tunnel
  • From: Kevin Brouelette <kevin1a@xxxxxxxxxx>
  • Date: Thu, 02 Jun 2005 20:45:34 -0700

On Thu, 2005-06-02 at 09:12 +0200, Johannes Schmid wrote:
> Hi,
> 
> is there any way to determine the status (up or down) of a VPN tunnel
> on linux? It looks like the tun interface is always "up" no matter what
> state the VPN connection is in.
> 
> I could write --up / --down scripts that write the status to a file but
> I just wanted to ask whether there is a simpler solution...
> 
> Thanks in advance!
>   -Johannes.

Hello,
For my openvpn server I added:

status openvpn-status.log
log-append openvpn.log

to my server config and then 'tail -f openvpn.log openvpn-status.log'
to watch the connections and status.
Is that what you are looking for?

Kevin



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00042.html on line 200

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-06/msg00042.html on line 200