View Single Post
meShell's Avatar
Posts: 60 | Thanked: 104 times | Joined on Dec 2009
#1
As title tells, this is a newer fixed version of "vpnc" that works my FritzBox 7490 VPN.

Jolla provides already an old version, but that still doesn't have the needed fixes like this one:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629646


So I compiled the latest revision from SVN directly on my Jolla and it connects sucessfully.

SVN



What I did

I installed the old vpnc with developer mode + terminal.

Edited the vpnc-config file: /etc/vpnc/default.conf

Code:
IPSec gateway myrouter.dyndnsxyz.com
IPSec ID myVpnUser
IPSec secret abclZfswe1234aDF
IKE Authmode psk
Xauth username myVpnUser
Xauth password myVpnUserPassword


Then I compiled trunk vpnc after installing gnutls, libgcrypt, gcc ...

Running the new vpnc as root: ./vpnc

This connects sucessfully to my VPN:

Code:
"VPNC started in background (pid: 12345)..."
and silently creates the the interface "tun0" (with it's own additional IP), as you can see with running: ifconfig

Then I manualy added a route so that only all traffic to the network 192.168.2.0/24 is going over vpn for now (should be handled by script later):

Code:
ip route add 192.168.2.0/24 dev tun0
Now I can access devices in my network via VPN.




Appended my "vpnc.zip":

Code:
 File: vpnc.zip
CRC-32: 8db30d58
   MD4: cacb0a50ef3ee13d46c67ad9e4bc48fd
   MD5: a6f29926acbc92161dd76822441ac16d
 SHA-1: c19a684f7d72ba4fd6deb0ff91a3311969be5110
Attached Files
File Type: zip vpnc.zip (121.4 KB, 441 views)

Last edited by meShell; 2014-01-29 at 08:45.
 

The Following 10 Users Say Thank You to meShell For This Useful Post: