NetworkManager, Vpnc and Centos 5.3 Problem.



Hi;
I have Centos 5.3 on my labtop and have to vpn a cisco vpn server. So i installed vpnc on my box. Then i want to integrate with NetworkManager and vpnc so i also installed NetworkManager-vpnc 7.0. I configured vpn connection and tried to connect. It looks like it connected but when i try to login my server at behind of the vpn server, i cant reach them. I check the routes and it looks like at below.

[root localhost sysconfig]# route
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xxx.xxx.xxx.xxx   10.15.1.1       255.255.255.255 UGH   0      0        0 eth0
10.255.0.136    *               255.255.255.248 U     0      0        0 tun0
10.15.0.0       *               255.255.0.0     U     1      0        0 eth0
default         *               0.0.0.0         U     0      0        0 tun0

Then i tried at the console and run the vpnc command and enter the vpn information from command line like below it is worked

[root localhost sysconfig]# vpnc
Enter IPSec gateway address: xxx.xxx.xxx.xxx
Enter IPSec ID for xxx.xxx.xxx.xxx: xxx
Enter IPSec secret for xxx xxx xxx xxx xxx
Enter username for xxx.xxx.xxx.xxx: xxx-xxx
Enter password for xxx-xxx xxx xxx xxx xxx
VPNC started in background (pid: 19071)...

I can reach my servers. There isnt any error while try with networkmanager vpnc, but it cant connect actually When i looked at routes again. It is shown the same values. Any idea?

[root localhost sysconfig]# route
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
xxx.xxx.xxx.xxx   10.15.1.1       255.255.255.255 UGH   0      0        0 eth0
10.255.0.136    *               255.255.255.248 U     0      0        0 tun0
10.15.0.0       *               255.255.0.0     U     1      0        0 eth0
default         *               0.0.0.0         U     0      0        0 tun0

--
Abdullah Teke
---------------------------
abdullahteke gmail com
www.abdullahteke.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]