I've seen a problem staying connected to a Cisco VPN, this goes back a number of years.I was running 8.10 and it was fine.After I moved to 9.10, the problem started happening.My VPN connection to work would drop after 8 hours.I looked around for a while and ended up compiling the cisco provided client which works fine (but is a pain).I've been running 9.10 on my work laptop, and it experiences the same problem using vpnc, but I've been dealing with it because it's easier than using the Cisco client.
I installed 10.04 on my work desktop, my home desktop, and a personal laptop that was previously running 8.10, and all experience the same problem with vpnc.I even go so far as to keep one terminal open with a constant ping all day and it still drops after about 8 hours. A couple of others at work experience the same problem using vpnc. This is not a problem using the Cisco provided client, or running it on windows or os/x.Has anybody else seen this, or have any ideas on what I can start looking for to get this addressed?
I have a minor Internet issue. I have a static IP address with the modem acting as a gateway only to my ISP. My Ubuntu server hosts my public IP address and I use pppoeconf to connect. Every 3 hours I lose Internet. I have wrote a short script to reconnect. I doubt that it is my ISP trying to renew that often.
I've been trying to connect to my office Cisco VPN several time using the network-manager-vpnc GUI in Ubuntu Karmic with no success. I read a couple of articles and i tried using the direct command line way:
Code: sudo vpnc office with the following /etc/vpnc/office.conf file:This is fictional data Code: IPSec gateway vpn.office.com IPSec ID office IPSec secret 0ff1c3 which worked perfecly.
So i went back to the Network Manager GUI way and i used the same credentials. Same fictional data I got a libnotify message telling me it couldn't connect.Anyone know how i could troubleshoot this issue? Would be great to have it integrated in gnome instead of running a background command which is not tracked by nwm.
With fc12 vpnc starts allows me to connect to my work site then everything works fine til I try and start a remote desktop connections to a windows client use tsclient. All I get is a blackscreen and my laptop is hung.
At work without the vpnc it works fine if I start the vpnc from nm it performs the exact same way and I get the blackscreen.
I have disable selinux.I also disabled the firewall
there was another gentlemen on here with the same issue.
The only way out is a hard reboot and there are no messages in the logs that say there were any problems.
I connect to my working PC via vpnc. And always type group, manually. How to do it automatically? Is there way my vpnc console load config file or somethig else?
I had a problem and had to reinstall ubuntu and figured I may as well upgrade to 10.10 since I had to do a fresh install. Well I assumed I would have to reinstall vpnc for my cisco vpn client but I can not figure out how to download it. When I do a search it seems the only vpn option is pptp. I really need it working as I am on call with my job.
I just upgraded Ubuntu 10.04 LTS. Now when I use vpnc to connect from the command line using vpnc-connect, I'm not only prompted for my password as usual, but now also being prompted for a "Passcode". Here's what the login attempt looks like:
Enter password for jegan@some.vpnhost.net: Passcode for VPN jegan@216.23.18.33:
I've been using the same /etc/vpnc/default.conf file for years.Note that I do not have an /etc/vpnc.conf, or any of the other configuration files that vpnc checks for.Here's a modified copy of my /etc/vpnc/default.conf file:
## generated by pcf2vpnc IPSec ID CRL-Qfe IPSec secret XM-j-245Rv[code].............
I use VPNC to connect to a Cisco VPN. I am able to connect, but some issues exist when I use SSH. For example, I login through SSH to a computer in the VPN and I execute ls => it works. If I execute ls -la => connection stalls. I think it stalls every time it is supposed to return more content (top, ls /etc).
If I do scp from my end to server => works. If I do scp from server to my end => connection stalls.
I'm trying to setup a VPN using VPNC. All is well and I can create the VPN.
The problem is that CNTLM does not want to connect in the VPN Further more I am not sure what to look for? The logs are empty and CNTLM only reports 502 Parent proxy unreacheable.
How can I trace what the problem is?
My setup: Ubuntu 10.10 64 CNTLM 0.91~rc6-0ubuntu1.1 VPNC 0.5.3r449-2
I installed network-manager-vpnc, configured cisco vpn through NetworkManager. It works slow, but the bigger problem is that after minute or so the connection just freezes.Then I tried kvpnc. It works like it should from speed point of view. But it also hangs up after minute or two.Tried to change MTU of my wired connection to 1500 - no good.Tried to uncomment line in /etc/ppp/options "mru 542" - no good.
Created /var/run/vpnc because it was giving some error "can't open pidfile /var/run/vpnc/pid for writing".From logs everything seems fine except for "nm-dispatcher.action:Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1." in last line. If I use kvpnc it gives no errors.SO, how do I debug this thing or does anyone knows something I don't in this case?
When I connect to my company's VPN (it's a Cisco), it connects just fine and displays the broadcast message, but once connected I can't ping anything or ssh anywhere. Not on the private network, not on the Internet [URL], nothing. I can still browse the web without difficulties when connected to the VPN, but no ssh or ping. With ping, it properly resolves the host name, but I get 100% packet loss.
Once I disconnect from the VPN, a ping of [URL] works exactly as expected.
I don't have any firewalls set up on this host that I'm aware of (unless something is installed and configured by default).
I installed vpnc package under RHEL 5.1 64 bit and its working fine. but it is showing frequent disconnectivity issue. I did added the script for respawning:
Code:
I have just added but no idea if it will work or not.Downloaded from external source.
1. How to check vpnc logs upon disconnectivity? 2. How to make the connectivity stable?
My machine can connect to wireless router and renew IP address. Also it can connect to a server via vpn/ssh, but I just cannot surf the web. I tried both Firefox and Chrome but neither worked.I am using my Windows machine now. This machine uses the same router.I'm using SUSE 11.2 and everything was fine yesterday evening. It seems both browser just suddenly stopped working.How can I DEBUG it?
I'm trying to connect to a Cisco VPN at work from Ubuntu 10.10. On earlier versions, I was able to import the config and get it working. In 10.10, though, the best I've gotten is being able to connect to the VPN, see the welcome message, and have packets sent over the tunnel. I don't receive any packets, though.
The command-line vpnc client connects just fine. I found this bug report: [URL]
The symptoms it describes are exactly what I'm seeing. The apparent solution is to "make sure in your config that LZO Compression is enabled (checked) under Advanced"; however I see neither an option for compression nor an "Advanced" tab, button, or anything on my VPN config in Network Manager.
It hangs at the end and I can see in /var/log/messages "modem-manager: (net/tun0) could not get port's parent device" and then eventually "withdrawing workstation service for tun0".
My settings are correct and other people seem to be able to connect.
I am not using KNetworkManager because of an issue on my machine regarding rfkill.
I just got vpnc setup to work with my VPN at work and now I am trying to figure out how to limit the traffic that is routed through the VPN while I'm connected to it. I only want traffic going to the local domain to be routed through the VPN.This is what my vpnc config file looks like:
Code: IPSec gateway publicdomain.example.com IPSec ID XXXX
Since I installed FC11 vpnc stop working. I get "vpnc: no response from target." I tried running it with "strace" and the reason is a timeout: poll([{fd=3, events=POLLIN}], 1, 4000) = 0 (Timeout)
I tried google and adding "NAT Traversal Mode cisco-udp" to the config file works for some people but not for me Does anyone had experience with vpnc 0.5.3 in FC11?
I have been trying to connect to my University's VPN Server and for some reason vpnc fails. I have configured the vpn settings the same way I did for the past two years. They worked properly on Fedora 12 and 13, but for some reason fails on Fedora 14.
Code: Jan 6 16:45:20 exodusprime NetworkManager[1269]: <info> Starting VPN service 'vpnc'... Jan 6 16:45:20 exodusprime NetworkManager[1269]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 11731 Jan 6 16:45:20 exodusprime NetworkManager[1269]: <info> VPN service 'vpnc' appeared; activating connections Jan 6 16:45:21 exodusprime NetworkManager[1269]: <info> VPN plugin state changed: 3 Jan 6 16:45:21 exodusprime NetworkManager[1269]: <info> VPN connection 'Swinburne University VPN' (Connect) reply received. code....
how nobody else could have run into this in the meantime. [URL] Two friends of mine are having the same issue on Ubuntu-11.4-machines. In short: Connecting to the Cisco-VPN via shell-command "vpnc" works flawlessly, whereas NetworkManager just doesn't connect at all. We had this working in older versions of Fedora/Ubuntu about some months ago...
Our company uses a customized vpnc (based on and almost the same as vpnc 0.5.3). I first tested it on a Windows host under Virtualbox everything works straight away. But when I want to use it on a Linux host directly it always ends in "No response from target". I have tested this on Fedora 12 and the latest Ubuntu. I thought of firewall settings but iptables -L on Ubuntu returns an empty list even.
I WAS using opensuse 11.1 with gnome networkmanager and vpnc. I am NOW using opensuse 11.2 with gnome networkmanager and vpnc.When vpn concentrators are configured, they are configured with 'split horizons' (or not). If not, a default route is required from the client to pass ALL client traffic through the vpn connection. (when the connection is established, the vpn client replaces the default route on the client machine to point to the host site) If 'split horizons' is enabled, only the traffic bound for the host site is passed through the vpn connection.
What I have noticed, is since I installed 11.2, the vpn client is NOT enabling split horizon on connections that call for it. In stead, it is putting in a default gateway every time. This is a big problem, because for those sites that are configured for split horizon, doing this means that no Internet traffic will pass unless you manually adjust the route table.
I am trouble trying to get vpnc to work on my laptop.
Using the same computer via Ubuntu, it works fine.
I used to use an older kernel with the cisco vpn client, but had to go through the motions of turning off cpus in order for it to work. I gave that trick a try and it does not work.
I pretty much followed the instructions from: Gentoo Linux Documentation -- Gentoo vpnc HOWTO
The machine completely locks up right after I enter my password...
I don't see anything relevant in the /var/log/messages file.
Is there another log file to look into specific to the vpnc?
I am having problems accessing my work desktop through my home computer running Fedora 13. I am able to remote into work through MAC and Windows XP. I loaded vpnc and was able to connect to the concentrator. I also able to ping it too. I cannot connect to my desktop using rdesktop. I get error message �Unable to connect, socket is unavailable. I cannot ping to the desktop.
i need to install vpnc in amazon ec2 fedor 8 instance. i have installed with yum install vpnc commaned. And i have placed config file in /etc/vpnc/some.conf. but it is not connecting and giving the following error. vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun): No such device.
I am having difficulties in establishing a vpn connection using vpnc (or NetworkManaager-vpnc).
As long as the openswan IPsec daemon is running, vpnc-helper quits with the error message
Quote:
Failed to bind to 0.0.0.0:500: Address already in use [user@computer ...]# vpnc-helper --local--port 0
If I use NetworkManager-vpnc, then establishing the connection simply fails. Using the --local-port 0 option does not change anything.
If I stop the ipsec service (service ipsec stop) then establishing the connectiong works, both with NetworkManager-vpnc and the console tool, but apparently the network traffic is not routed via the VPN - in my case this means that I cannot access hosts within the vpn and stuff.
Funny thing is - on my notebook from where I connect via WLAN, everything works fine. With Fedora 13 everything works fine, too.
Does anybody have an idea how to enforce that the vpn connection is actually used?
I am using KNetworkmanager-vpnc to VPN back to the office from home, the vpn connection works fine - for 15 minutes then I am disconnected. I am fairly certain that this is related to the Phase 1 key lifetime limit. The Knetworkmanager-vpnc GUI does not provide a location to enter this information. I think I found the config file that holds the connection information at /home/<user>/.kde/share/apps/networkmanagement/connections/ I just don't know the proper syntax to put in the file to specify a key life limit. Anyone out there know how to do this? I am using Fedora 14 x64 with knetworkmanager-vpnc 1.0.9-0.28.