« Return to Thread: vpnc or openvpn

Re: vpnc or openvpn

by Sean Dilda-2 :: Rate this Message:

Reply to Author | View in Thread

Dmitriy Morozov wrote:
> Hi,
>
> Are there instructions anywhere on how one can use vpnc [1] or
> openvpn [2] to connect to Duke's network?
>
> [1] http://www.unix-ag.uni-kl.de/~massar/vpnc/
> [2] http://openvpn.net/
>

I was able to get vpnc to work on Fedora 8.

Step 1:  Rebuild vpnc with a modified Makefile that enables building
against openssl (or steal my rpms from http://www.duke.edu/~sean/rpms/vpnc/)

Step 2: Download https://software.oit.duke.edu/pub/vpn/vpnclient_win_5.zip

Step 3: Run pcf2vpnc (found in /usr/share/doc/vpnc-0.5.1/) on
duke-broadband.pcf the zip file in step 2.

Step 4. Copy the output from Step 3 to /etc/vpnc/default.conf

Step 5:  Copy the rootcert file from the zip file to
/etc/pki/tls/certs/<hash>.0  (that's a .0 after the hash)

You can get the hash by doing:  openssl x509 -in rootcert -noout -hash

Now you can run '/usr/sbin/vpnc' as root and enter in your NetID then
NetID password when prompted.

And /usr/sbin/vpnc-disconnect when you're done.

_______________________________________________
Dulug mailing list
Dulug@...
https://lists.dulug.duke.edu/mailman/listinfo/dulug

 « Return to Thread: vpnc or openvpn