LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-17-2009, 12:12 AM   #1
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Rep: Reputation: 15
openvpn disconnects


Hi,

I am using open vpn client on 2 boxed one debian and one ubuntu to connect into the network at work.

I can connect fine, ping and work on the webapp that I need to use. Howerver after a few requests (https requests )sometimes only 3 or 4 the connection dies and I have to restart. The same happens if i leave a ping going, it may run for a few minutes then dies.

The only suggestions i have found when googling are forwarding ports on my adsl router. I have tried forwarding all ports both tcp and udp but I still get the disconnects.

The vpn has only been set up for a few days and our sysadmin has gone awol so theres no one to ask.

any ideas or suggestions on how to troubleshoot most appreciated.
 
Old 06-17-2009, 02:35 AM   #2
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
Have you tried vpnc? That's in the Debian repositories and works well for me.
 
Old 06-18-2009, 08:18 AM   #3
hackertarget
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
I had a similar issue so if you are already using vpnc and are on 9.04 ubuntu. Give this a go.

The new version of vpnc in 9.04 seems to have a bug that was not present in the vpnc version in 8.10 - i found the following fixed it for me in 32bit and 64bit.

All you need to do is install the old version from ubuntu 8.10 into your 9.04 install and you will have a stable vpnc once again.

Download the older package from http://packages.ubuntu.com/intrepid/net/vpnc 32bit or 64bit

Quote:
apt-get remove vpnc
dpkg -i vpnc_0.5.1r275-1ubuntu1_i386.deb
And then go to Synaptic package manager and select option to force no update of vpnc.
 
Old 06-19-2009, 01:11 AM   #4
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Original Poster
Rep: Reputation: 15
I have now proven that this is only a problem on my lan, i was connected all day yesterday at a friends house
with no disconnect problems.

I haven't tried vpnc, I have looked at the config options and am not sure how i would set it up, I have keys
not passwords and at the moment time doesn't allow me to figure it out.

Any ideas what the problem could be on the lan? I have an adsl router, all outgoing traffic is allowed, all
incoming traffic is blocked, i did try forwarding all incoming traffic to my machine but that didn't make
any difference.

I tried turning up the log verbosity to 9 but that just filled my syslog with a lot of stuff that i didn't
understand
 
Old 06-19-2009, 02:41 AM   #5
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
I would try giving the router a reset (factory settings). It may not solve the problem but at least you can rule the router configuration out as being the problem. You shouldn't need to adjust any settings on the router for a VPN connection to work.
 
Old 06-19-2009, 02:57 AM   #6
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jsteel View Post
I would try giving the router a reset (factory settings).
Thanks for the reply, I already tried that, it didn't help
 
Old 06-19-2009, 03:05 AM   #7
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
If you were to try vpnc, run it as root. It will ask for the VPN domain name (such as rem.my.domain) then the group name (case-sensitive) and password/secret. Those two details can be provided by the manager of your VPN (it is a general username and password). After that it will ask for your personal username and password. Use vpn-disconnect as root to close the connection. If it works, you can then set up your vpnc configuration file with those details.
 
Old 06-24-2009, 04:22 PM   #8
michal017
Member
 
Registered: Jan 2004
Location: EU
Distribution: Debian
Posts: 90

Rep: Reputation: 15
bigtl: I have the exact same problem with my openvpn.. I'm connected via DSL. It must be something with the DSL modem/network, because it used to be fine some time ago. I tried to lower down MTU to 1400, but it did not help.
I have the problem on my 2 laptops, running Ubuntu 8.10 and 9.04. Can the vpnc client work with openvpn server?
 
  


Reply



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
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM
Proftpd disconnects TheUnknown Mandriva 6 10-20-2004 02:53 AM
x11VNC Disconnects jonty_11 Linux - General 2 10-06-2004 09:28 PM
wpa_supplicant disconnects drzel Linux - Wireless Networking 1 07-17-2004 07:07 PM

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

All times are GMT -5. The time now is 08:01 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