LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-31-2017, 10:01 AM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,553
Blog Entries: 4

Rep: Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888Reputation: 3888
OpenVPN connection "wobbles" up and down hundreds of times a day


In one situation, where the remote-side client is Windows and the stability of the client-side network is unknown, I see OpenVPN connecting and reconnecting literally hundreds of times a day ... and I don't know why. I do know that the phenomenon is limited to this client. (This same server is used by many clients, and no one else has a lick of trouble.)

I don't see "I/O-error" messages: I simply see client-connection negotiations happening (successfully, of course) throughout the day every day.

What are some technical reasons why I might see this kind of behavior? Where might I look for trouble?
 
Old 09-01-2017, 07:23 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,749

Rep: Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137
Do you have the affected client logs available to share?
 
Old 09-01-2017, 07:36 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,749

Rep: Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137
I also meant to ask about keepalive values are used in the server config.

It might be good to gauge the reliability of the internet connection by monitoring for packet loss with a constant low level ping to the remote host perhaps.

Last edited by ferrari; 09-01-2017 at 07:38 AM.
 
Old 09-01-2017, 08:33 PM   #4
rshimmel
LQ Newbie
 
Registered: Mar 2011
Posts: 6

Rep: Reputation: 0
OpenVPN on Windows "Flapping"

Check your client connection .conf or .ovpn and see if they have the following settings in it:
resolv-retry 20
keepalive 10 60

If you have those or similar are in it, have them check there router logs and see if that is where the flapping is coming from.
Other possibilities could be: a failing NIC, cabling, or cable run (wrapped around power cords, run across fluorescent light...).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
One(!) OpenVPN client re-connects hundreds of times each day sundialsvcs Linux - Networking 2 06-21-2017 08:38 AM
Delete all log files older than 10 day and whose first string of the first line is "MSH" or "<?xml" Hiroshi Programming 5 02-18-2017 04:22 AM
several times a day "server DNS address could not be found" for 5 mins (Xen-Hosted Debian) oneindelijk Linux - Networking 1 07-19-2016 11:30 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
Data transfer online is slow "at times" or "stops at times" Balarabay1 SUSE / openSUSE 14 04-30-2006 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration