Re: vpncsetting routes problem

2005-07-13 Thread grumpa
On Wed, Jul 13, 2005 at 01:01:16PM +1000, Ben Hooper wrote:
 
 Did you set net.inet.esp.enable=0 accoring to the install message?
 
 Regards,
 
 Ben.
 

Nope, I must have missed that.

But unfortunatly it didn't solve my problem :-/

Running a tcpdump on tun0 shows me that the correct packets are send from my 
workstation but they seem to never get a reply...


Grumpa



Re: vpncsetting routes problem

2005-07-12 Thread Ben Hooper
|I'm trying out vpnc to connect to the cisco concentrator at my 
|workplace.
|
|The connect itself works without a problem.
|
|Only the setting of the routes didn't work at all.

snip

|The problem is that nothing works... No traffic seems to 
|pass... Though when trying with a win machine and the cisco 
|vpn client it works without a problem. So it can't be because 
|of some firewall...

Did you set net.inet.esp.enable=0 accoring to the install message?

Regards,

Ben.



vpncsetting routes problem

2005-07-11 Thread grumpa
Hi everyone

I'm trying out vpnc to connect to the cisco concentrator at my workplace.

The connect itself works without a problem.

Only the setting of the routes didn't work at all.

I took /usr/local/share/examples/vpnc/vpnc.sh as an example and sat the routes 
accordingly. (the 3 last lines of the start function)

Before doing so my routing table lookes as follows:

Internet:
DestinationGatewayFlagsRefs  UseMtu  Interface
default141.12.239.248 UGS 0   11  -   fxp0
127/8  127.0.0.1  UGRS00  33224   lo0
127.0.0.1127.0.0.1  UH  00  33224   lo0
141.12.110.1  141.12.110.1   UH  00  -   tun0
141.12.239/24link#1 UC  00  -   fxp0
141.12.239.2000:50:04:3e:d3:3e  UHLc0  197  -   fxp0
141.12.239.21127.0.0.1  UGHS00  33224   lo0
141.12.239.248  00:00:0c:07:ac:27  UHLc00  -   fxp0
224/4  127.0.0.1  URS 00  33224   lo0


After setting the new routes:


Internet:
DestinationGatewayFlagsRefs  UseMtu  Interface
default141.12.110.1   US  06  -   tun0
127/8  127.0.0.1  UGRS00  33224   lo0
127.0.0.1127.0.0.1  UH  00  33224   lo0
141.12.110.1  141.12.110.1   UH  00  -   tun0
141.12.128.10141.12.239.248 UGHS06  -   fxp0
141.12.239/24link#1 UC  00  -   fxp0
141.12.239.2000:50:04:3e:d3:3e  UHLc0 1073  -   fxp0
141.12.239.21127.0.0.1  UGHS00  33224   lo0
141.12.239.248  00:00:0c:07:ac:27  UHLc00  -   fxp0
224/4  127.0.0.1  URS 00  33224   lo0


Which seems to be correct (though I must admit the line 141.12.110.1 
141.12.110.1 looks somehow weid)

The problem is that nothing works... No traffic seems to pass... Though when 
trying with a win machine and the cisco vpn client it works without a problem. 
So it can't be because of some firewall...

I need to admit it's the first time for me to work with vpns at all.


In the above example 141.12.239.248 is the default router
141.12.110.1 the tun_ip
and
141.12.128.10 the vpn gateway


I hope someone can enlighten me as I'm already trying to get this to work for 
too long now..

Thanks