
felix wrote:
Using SimplyMepis 3.3.1:
I have to access work using a Cisco VPN connection. I have installed "vpnc" and "tun". I can establish a VPN connection and get an IP address assigned.
ifconfig tun0 tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.255.255.1 P-t-P:10.255.255.1 Mask:255.255.255.255
This doesn't seem correct. It's made a tunnel connection from the RFC1918 address 10.255.255.1 to the same address. These addresses should, I beleive, be your external IP and the remote IP.
I then added a route with the work IP address range: route add -net 10.83.0.0 netmask 255.255.255.0 dev tun0
Once the above is fixed that should be fine, assuming your network is 10.83.0.0 -> 10.83.0.255 Daniel