View previous topic :: View next topic |
Author |
Message |
steap n00b
Joined: 02 Oct 2003 Posts: 6 Location: near Frankfurt/Main - Germany
|
Posted: Thu Oct 02, 2003 11:33 am Post subject: Problems with Cisco VPN Client |
|
|
Hi...
I installed the Cisco VPN Client 4.0.1a using the "emerge" command. Connecting and authentification works fine but it seems that I can't receive data. I try to open an http-url via the secure connection and don't receive any data.
The strange thing is: I have also WinXP and VPN Client for Win installed on this machine and there it works. I also tried it on a debian machine in the same network and it worked. Therefore I don't think it's a problem with the firewall.
Maybe there is something wrong with the routing...
Any ideas?
Thanx
Stefan |
|
Back to top |
|
|
Lozzer Tux's lil' helper
Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Thu Oct 02, 2003 9:26 pm Post subject: Maybe DNS |
|
|
Can you resolve hostnames? Especially hostnames that are private to your company DNS. (check with ping hostname - it should come back with PING hostname (ip address)).
If name resolution is not happening, try pinging an ip address on the private network.
If this works, then you have a DNS problem. I think the Cisco VPN client overwrites /etc/resolv.conf when you connect. Check whether the nameservers are on your company network after you connect.
There isn't really much you can do about routing with this VPN. Instead of exposing a network interface it intercepts and reroutes packets in the kernel. If you are using the same pcf as on Windows then it should be OK.
I've got this working, but I installed it manually, because I didn't realise there was a Gentoo package for it |
|
Back to top |
|
|
steap n00b
Joined: 02 Oct 2003 Posts: 6 Location: near Frankfurt/Main - Germany
|
Posted: Fri Oct 03, 2003 7:57 am Post subject: |
|
|
First thanks - but resolving hostnames works fine.
Could the kernel 2.4.22 be the reason for my problem? On the other machine I tried, I used 2.4.21
Think, I'll load the 2.4.21 sources and just try it... |
|
Back to top |
|
|
steap n00b
Joined: 02 Oct 2003 Posts: 6 Location: near Frankfurt/Main - Germany
|
Posted: Fri Oct 03, 2003 8:56 am Post subject: |
|
|
so... - the kernel isn't the reason... |
|
Back to top |
|
|
Lozzer Tux's lil' helper
Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Fri Oct 03, 2003 9:19 am Post subject: Kernel Version |
|
|
The kernel I got it running with was linux-2.4.20-gentoo-r7 |
|
Back to top |
|
|
steap n00b
Joined: 02 Oct 2003 Posts: 6 Location: near Frankfurt/Main - Germany
|
Posted: Fri Oct 03, 2003 9:47 am Post subject: |
|
|
Now I got the VPN-Connection working
But I don't know the real reason for the problem. What I did is setting the MTU of the eth0 and cipsec0 interfaces by hand (set it to 2000). After establishing the VPN connection the MTU for eth0 is 1856 and for cipsec0 is still 2000 |
|
Back to top |
|
|
shiqicao n00b
Joined: 13 May 2004 Posts: 2
|
Posted: Thu May 13, 2004 8:50 pm Post subject: where can u set MTU? |
|
|
where can u set MTU? |
|
Back to top |
|
|
Lozzer Tux's lil' helper
Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Fri May 14, 2004 12:38 am Post subject: |
|
|
You can do it manually by using the ifconfig command e.g.
Code: | ifconfig eth0 mtu 1856 |
You can set it on startup by editing the relevant /etc/conf.d/net* files.
For eth interfaces you need a line like
Code: | iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0 mtu 1856" |
For ppp interfaces you need something like
I'm not sure how you set it on the tunnel interface, but as that is really using a physical interface it is probably more important that you set it right on the underlying one. |
|
Back to top |
|
|
enkil Tux's lil' helper
Joined: 27 Apr 2004 Posts: 115 Location: Bern, Switzerland
|
Posted: Fri May 14, 2004 6:56 am Post subject: |
|
|
@steap:
I had the same problem with the vpnclient... I was able to establish a vpn-connection and even ping other computers in the network, but I was unable to get any bigger packages transmitted...
Problem was, that I used my onboard Marvell 1000MBiT NIC, something with its driver seems to be broken... Are you using a Marvell-NIC, too? |
|
Back to top |
|
|
castrik n00b
Joined: 16 Apr 2004 Posts: 31
|
Posted: Fri May 14, 2004 8:34 am Post subject: |
|
|
i have had a similar problem before, turned out i needed to allow specific ip protocols thru my firewall. im not sure what they are offhand. |
|
Back to top |
|
|
steap n00b
Joined: 02 Oct 2003 Posts: 6 Location: near Frankfurt/Main - Germany
|
Posted: Fri May 14, 2004 2:15 pm Post subject: |
|
|
Now everything works fine. Since the problems occured more than half a year ago, I don't know what finally solved this strange behaviour.
At the moment I use kernel 2.6.5 and a newer version of the vpn-client.
@enkil:
I have a Broadcom 1000MBit NIC in my Notebook, I had the probs with... |
|
Back to top |
|
|
|