SECTION 6 - Donald's Nifty Scripts of Doom

Download Donald's Scripts

Download Donald's scripts from: https://dl.dropbox.com/u/169813/openvpn-mac.tar.bz2

 

Type These Commands to Unarchive the Scripts

Type These Commands to Unarchive the Scripts
cd ~/Downloads
tar xvjf openvpn-mac.tar.bz2

 

Setting Up OpenVPN Server

Setting Up OpenVPN Server

We're now going to run Donald's scripts.  Enter this command:

  cd openvpn-mac && sudo bash setup-openvpn-server

Name your Server (I've entered kyles-mac-vpn)

Enter the dynamic dns host name you noted back on no-ip.com (you DID note it, right?)

Keep Answering Questions

Keep Answering Questions

The first time through you need to answer these.  These steps will be duplicated MANY times, but after this the answers will be there and you can simply hit Enter for each questions.

Hit Enter for All These Questions for an RSA Key

Hit Enter for All These Questions for an RSA Key

And Again for Some Reason

And Again for Some Reason

Keep Answering...

Keep Answering...

And Again

And Again

And Again...

And Again...

Whew!

Whew!

Enter passphrase and password as many times as they ask for it!

Finder Window Opens Showing config-files

Finder Window Opens Showing config-files

Copy this file to Dropbox. It will be the first connection file you test. It would be good to name it something associated with the device on which you'll use it (you'll be creating one of these for each of your devices).

Create a New VPN Connection Document for Each Device You Have

In Terminal, enter:

  sudo setup-openvpn-client connection-name

where connection-name means something to you for each different device you'll want to connect to the VPN server.  Move each of these files to Dropbox to be picked up on your devices.

2 Comments

Mike

Donald's scripts are no longer available. Is there another source or details of what they did?

Allison Sheridan

Hi Mike - here's a link to the full tutorial: http://www.podfeet.com/blog/tutorials-5/how-to-set-up-a-vpn-server-using-a-mac-2/

Donald has kind of fallen off of the map and I've sadly lost track of him.
Allison Sheridan
NosillaCast Mac Podcast at http://podfeet.com
A technology geek podcast with an EVER so slight Macintosh bias!
Follow me at http://twitter.com/podfeet

Add your comment

E-Mail me when someone replies to this comment