problem with vpnc

Hi,
I have a problem with vpnc. I can make a connection to the vpn server, the connection starts, but nothing happens!
My IP address remains the same as previous! There is nothing added to my Knetworkmanager, I’m a beginner I should use a pcf file for my vpn connection. I use it properly, I’m sure because the connection starts and an icon is added to my panel and remains until I disconnect. Can you please help me? I’m using opensuse 11.1

I checked it via ifconfig -a, the last part (which is for vpn) is:


tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:141.213.169.76  P-t-P:141.213.169.76  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1390  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:676 (676.0 b)  TX bytes:345 (345.0 b)

I would expect a private IP there, is the pubic IP the same as the one you are connecting to? That would indicate an error in the config.

This is what I get on a working vpn:

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.200.206 P-t-P:192.168.200.206 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)

Try this, create a file like below (adjust to your needs) as /etc/vpnc/my_vpn_connection

IPSec gateway your.vpn.host
IPSec ID your_group_authentication_name
IPSec secret your_group_authentication_key
Xauth username your_userid
DPD idle timeout (our side) 0

Then from the console run: sudo /usr/sbin/vpnc my_vpn_connection

p.s. make sure only root can read this file since it contains your key