Questions tagged [vpnc]

26 questions
17
votes
8 answers

vpnc - it keeps disconnecting after 24 minutes

VPNC for some reason keeps disconnecting me after a period of time. I've tried timing it to see how long it takes and it seems to be everytime after 24 minutes. After being disconnected I have no internett connection as my /etc/resolv.conf is still…
14
votes
2 answers

How to record traffic which is inside a VPN?

I connect to a server over a VPN connection and it is only reachable over this connection. While I'm exchanging packets I want to basically see what kind of packets are exchanged and how the server reacts when it gets "wrong" packets. So I need to…
qbi
  • 661
13
votes
2 answers

Routing all traffic over VPN on Ubuntu Linux

After having spent now hours troubleshooting, trawling potential solutions on this site and others, and I am resigned to beg the advice of my betters. I am working to route all network traffic on an instance of Ubuntu over a Cisco VPN at a…
9
votes
3 answers

VPN through NetworkManager in Debian?

I just switched over to Debian from Ubuntu and I can't seem to figure out how to add a VPN connection through network manager. When I select the VPN tab from Edit Connections the Add button is disabled. I'm running a fresh install of Debian 6.0.1…
7
votes
4 answers

How to detect VPN disconnection with vpnc?

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,…
Abhinav
  • 2,040
5
votes
2 answers

Openconnect for Cisco VPN doesn't recognize private key file - asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag

I'm trying to use my Synology DS212 NAS box also act as VPN gateway to my companies VPN. Sadly, they only use Cisco ASA and to complicate stuff even further, we've got to use personal certificates (which is of course more secure, but more complicate…
alexs77
  • 460
3
votes
0 answers

setup vpnc to use vpnclient certificate for authentication

I am trying to access my company VPN using my Centos 5.5 laptop. I have the vpn client certificate issued by my company's IT dept. I am able to access the webmail using the same certificate which I installed in firefox. But I would like to know how…
yasouser
  • 313
3
votes
2 answers

Why is port 500 in use and how can I free it? VPNC error

I tried to use NetworkManager to connect to my university's VPN, but it didn't work. Then I used a command line vpnc: > sudo vpnc [sudo] password for kirill: Enter IPSec gateway address: vpn.net.**.edu Enter IPSec ID for vpn.net.**.edu: ** Enter…
kirill_igum
  • 1,338
3
votes
1 answer

Connecting Ubuntu VM to VPN

I would like to connect Ubuntu VM running in VirtualBox to VPN. I use vpnc to connect to VPN. I only managed to connect to VPN if I set VM NIC to bridged mode. However bridged mode only works if I connect host via cable to internet. What I need, is…
Hau Mi
  • 41
  • 3
2
votes
1 answer

How to connect to a VPN?

I am a newbie on this subject, and I was told to connect to a VPN from my computer, which is running Kubuntu 13.10. I was also given the server to connect to (vpn.server_x.com:81), a user and its password. The last data I have is that this is a…
forvas
  • 903
2
votes
1 answer

VPNC cisco + quick mode response rejected error

I installed a vpnc on my Linux red-hat machine version 6.3 Most of the cases vpnc work well ( connecting to gateway customers by vpnc ) But against some particular customers ( Cisco gateways ) , immediately after I activate the vpnc I get the…
eytan
  • 35
  • 1
  • 7
2
votes
1 answer

Can dnsmasq resolve specific domain by more than one server?

Consider company compx has the domain compx.com and without special configuration, dnsmasq can resolve computers in this domain just fine. Now I log into the VPN of compx.com with vpnc. Instead of having a private subdomain for internal computers…
Harald
  • 226
2
votes
3 answers

vpnc Not Adding Internal DNS Servers to resolv.conf

I'm trying to setup vpnc on Ubuntu. When I run vpnc, my resolv.conf file does not get changed. It still only contains my ISP's name servers: #@VPNC_GENERATED@ -- this file is generated by vpnc # and will be overwritten by vpnc # as long as the…
AJ.
  • 4,069
1
vote
0 answers

why cisco VPNC work on the second time each time and not on the first time

I use the vpnc ( cisco VPN that installed on linux red-hat 6.X ) and the vpnc.conf file look like this more /etc/vpnc.conf ## generated by pcf2vpnc IPSec ID Comvwde IPSec gateway 217.118.6.7 IPSec secret eJ9^DyiE IKE Authmode psk ## To add…
maihabunash
  • 489
  • 2
  • 6
  • 16
1
vote
1 answer

Trouble with vpnc in Linux Mint 13

After a fressh install of Linux Mint 13, I tried to connect to a VPN with the vpnc client, and received the following error message: resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything. How can I fix this?
Phyxx
  • 407
1
2