I needed to connect to the Utah State University Virtual Private Network. They had a page about connecting with linux, but it didn't work for me. I ended up writing a simple script to configure, start, and stop the vpn. You can find it here:
It works for me on Ubuntu 10.10, as long as I installed an updated openswan (as noted in the README).