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: Destination Gateway Flags Refs Use Mtu Interface default 141.12.239.248 UGS 0 11 - fxp0 127/8 127.0.0.1 UGRS 0 0 33224 lo0 127.0.0.1 127.0.0.1 UH 0 0 33224 lo0 141.12.110.1 141.12.110.1 UH 0 0 - tun0 141.12.239/24 link#1 UC 0 0 - fxp0 141.12.239.20 00:50:04:3e:d3:3e UHLc 0 197 - fxp0 141.12.239.21 127.0.0.1 UGHS 0 0 33224 lo0 141.12.239.248 00:00:0c:07:ac:27 UHLc 0 0 - fxp0 224/4 127.0.0.1 URS 0 0 33224 lo0 After setting the new routes: Internet: Destination Gateway Flags Refs Use Mtu Interface default 141.12.110.1 US 0 6 - tun0 127/8 127.0.0.1 UGRS 0 0 33224 lo0 127.0.0.1 127.0.0.1 UH 0 0 33224 lo0 141.12.110.1 141.12.110.1 UH 0 0 - tun0 141.12.128.10 141.12.239.248 UGHS 0 6 - fxp0 141.12.239/24 link#1 UC 0 0 - fxp0 141.12.239.20 00:50:04:3e:d3:3e UHLc 0 1073 - fxp0 141.12.239.21 127.0.0.1 UGHS 0 0 33224 lo0 141.12.239.248 00:00:0c:07:ac:27 UHLc 0 0 - fxp0 224/4 127.0.0.1 URS 0 0 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