View Single Post
Posts: 1,141 | Thanked: 781 times | Joined on Dec 2009 @ Magical Unicorn Land
#13
Sure, I use vpnc on my desktop machine as well as my N900, and I do exactly the same commands and setup the same way on both. I don't use the GUI, I just use xterm.

I created a file in /etc/vpnc/company.conf with my company's VPN settings. Here's what they are, the parts I changed are in bold font:
Code:
IPSec gateway 123.123.123.1
IPSec ID MYVPN
IPSec obfuscated secret 9083258390532(long hex string)
Xauth username myusername
Now that the file is there, I can connect with "company" as a shortcut to that configuration. This is the exact commandline I use:

Code:
sudo vpnc --dpd-idle=0 company
After it connects, vpnc is launched as a background process and you can exit the xterm. When you're done with using the VPN you can open xterm and type:

Code:
sudo vpnc-disconnect
which will disconnect the VPN and close the vpnc background process.

Also important to know that vpnc on N900 does not (for me) work when you are connected to gprs (cellular internet)... only on wlan (WiFi).

To see all available command-line options type:
Code:
vpnc --long-help
And yes it works with 3des, that's what we use at my company.
 

The Following User Says Thank You to stlpaul For This Useful Post: