In my log files it seems everything ok. But when try to login or ping a server at behind of the vpn i cant reach.
Jun 2 14:43:46 localhost NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.vpnc'... Jun 2 14:43:46 localhost NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 22320 Jun 2 14:43:46 localhost NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections Jun 2 14:43:46 localhost NetworkManager: <info> VPN plugin state changed: 1 Jun 2 14:43:46 localhost NetworkManager: <info> VPN plugin state changed: 3 Jun 2 14:43:46 localhost NetworkManager: <info> VPN connection 'xxxxx' (Connect) reply received. Jun 2 14:43:47 localhost NetworkManager: <info> VPN connection 'xxxxx' (IP Config Get) reply received. Jun 2 14:43:47 localhost NetworkManager: <info> VPN Gateway: xxx.xxx.xxx.xxx Jun 2 14:43:47 localhost NetworkManager: <info> Tunnel Device: tun0 Jun 2 14:43:47 localhost NetworkManager: <info> Internal IP4 Address: 10.255.0.89 Jun 2 14:43:47 localhost NetworkManager: <info> Internal IP4 Prefix: 29 Jun 2 14:43:47 localhost NetworkManager: <info> Internal IP4 Point-to-Point Address: 10.255.0.89 Jun 2 14:43:47 localhost NetworkManager: <info> Maximum Segment Size (MSS): 0 Jun 2 14:43:47 localhost NetworkManager: <info> Internal IP4 DNS: 192.168.90.51 Jun 2 14:43:47 localhost NetworkManager: <info> DNS Domain: '(none)' Jun 2 14:43:47 localhost NetworkManager: <info> Login Banner: Jun 2 14:43:47 localhost NetworkManager: <info> ----------------------------------------- Jun 2 14:43:47 localhost NetworkManager: <info> (null) Jun 2 14:43:47 localhost NetworkManager: <info> ----------------------------------------- Jun 2 14:43:48 localhost NetworkManager: <info> VPN connection 'xxxxx' (IP Config Get) complete. Jun 2 14:43:48 localhost NetworkManager: <info> Policy set 'System eth0' (eth0) as default for routing and DNS. Jun 2 14:43:48 localhost NetworkManager: <info> VPN plugin state changed: 4 Now i used vpn in this way. I created an conf file included text below called xxx.vpn. IPSec gateway xxx.xxx.xxx.xxx IPSec ID xxx-xxx IPSec obfuscated secret xxxxxxxxxxxxxxxxxxx Xauth username xxxx-xxxx Xauth password xxxxxx And then when i need to connect to vpn, i run the r...@localhost# vpnc <path_conf_file>/xxx.vpn then i can connect successfuly. Bu i want to use networkmanager for this. On Tue, Jun 2, 2009 at 12:05 PM, Michel Leunen <[email protected]> wrote: > Hi Abdullah, > > I got the exact same problem with my Ubuntu 9.04. I reported it here some > days ago but received no solution yet. > > I can connect using vpnc but not through NetworkManager. > When I look in the log file /var/log/daemon.log, I see that NetworkManager > reports an error plugin: > > May 30 11:17:38 LinuxPC NetworkManager: <info> VPN plugin failed: 1 > > This have no meaning for me so I hoped someone here could help me. > > > Michel > > > Abdullah Teke a écrit : > >> 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. >> >> [r...@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 >> >> [r...@localhost sysconfig]# vpnc >> Enter IPSec gateway address: xxx.xxx.xxx.xxx >> Enter IPSec ID for xxx.xxx.xxx.xxx: xxx >> Enter IPSec secret for [email protected] >> Enter username for xxx.xxx.xxx.xxx: xxx-xxx >> Enter password for [email protected] >> 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? >> >> [r...@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 >> --------------------------- >> [email protected] <mailto:[email protected]> >> www.abdullahteke.com <http://www.abdullahteke.com> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> NetworkManager-list mailing list >> [email protected] >> http://mail.gnome.org/mailman/listinfo/networkmanager-list >> > > > -- > Michel Leunen > http://linux.leunen.com > _______________________________________________ > NetworkManager-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list > -- Abdullah Teke --------------------------- [email protected] www.abdullahteke.com
_______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
