This page is a reference for configuring interfaces in Linux with good examples. This came in handy today as I was building a bare-bones no-GUI Ubuntu server template for VMware.
Skip the Cisco VPN part and hop down to “Installing VPNC.” This is easy stuff, at least for a techie. It got me hooked up to my Cisco VPN from Ubuntu 8.04 Hardy. The process looks something like this:
-
sudo apt-get install vpnc
- Edit a short config file.
- If necessary, de-encrypt your stored password here and add to the config.
- To connect (see update at bottom of post):
sudo vpnc --dpd-idle 0 [your-config-file-name]
- When you’re done:
sudo vpnc-disconnect
Thanks, Arun!
UPDATE 2009.2.18: I was having some trouble getting the vpn connection to stay alive. I found here that adding the —dpd-idle 0 takes care of the problem, at least for me. You may not need it.
I’ve occasionally needed a wired connection in the living room (the new DirecTV box doesn’t have wireless), and I’ve been looking for a use for my old wireless router ever since I bought the beefier model so I could run DD-WRT.