[vpnc-devel] vpnc problem

sunwei sunwei at tsinghua.org.cn
Fri Aug 12 18:25:42 CEST 2005


I installed vpnc0.3.2 on Debian system with linux kernel 2.6.12.
After configurating the "/etc/vpnc/default.conf" file, I can comunicate
with the server. And the IP address of dev tun0 is set correctly as following:

tun0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:3.7.206.72  P-t-P:3.7.206.72  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1412  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

But I still can not access the inner network. Here are the routing table
before and after I run "vpnc".

Before:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
220.192.0.10    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
132.147.167.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         220.192.0.10    0.0.0.0         UG    0      0        0 ppp0

After:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
220.192.0.10    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
198.169.188.174 220.192.0.10    255.255.255.255 UGH   0      0        0 ppp0
132.147.167.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 tun0

So would you please give me some suggestions?

Thanks 
sunwei




More information about the vpnc-devel mailing list