Comment 4 for bug 207506

Revision history for this message
Chris Pratt (pratt70) wrote :

Don't think that is it. My vpnc etc is still default. I have never created a vpnc config file but have only entered the parameters at the cli:

With nm-vpnc connection--

user@laptop:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
<VPN-IP> 192.168.1.1 255.255.255.255 UGH 0 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tun0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0

With vpnc-connect connection--

user@laptop:~$ sudo vpnc-connect
Enter IPSec gateway address: <VPN-IP>
Enter IPSec ID for <VPN-IP>: <ID>
Enter IPSec secret for <ID>@<VPN-IP>:
Enter username for <VPN-IP>: user
Enter password for user@<VPN-IP>:
VPNC started in background (pid: 23513)...
user@laptop:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
<VPN-IP> 192.168.1.1 255.255.255.255 UGH 1500 0 0 wlan0
172.20.0.81 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
172.20.0.80 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.20.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
172.21.100.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
192.168.255.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
172.20.0.0 0.0.0.0 255.255.252.0 U 0 0 0 tun0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0

Does nm-vpnc call same vpnc-script?