VPNMacTunnelBlick

From Amahi Wiki
Revision as of 09:48, 31 March 2010 by Cpg (talk | contribs)
Jump to: navigation, search

Mac VPN Client - Tunnelblick

Tunnelblick is an open source client for Mac OS X.

NOTE: Tunnelblick may not work if you have the Cisco VPN client installed at the same time!

  • Download and install the latest version of Tunnelblick for Mac OS X
  • We have a script to help in the installation:
       curl -o install-amahi-vpn http://dl.amahi.org/vpn/mac.sh
       chmod 755 install-amahi-vpn
       ./install-amahi-vpn
  • The above should open a text editor with the conf file
  • Replace YourNicknameHere in the first line, for your nickname
  • Start the VPN!

Manual Method

  • Detailed instructions
  • There are three .ctr/.key files needed (make sure you follow the links to these in this wiki properly) Right click and save as to save these to your computer:
  • Download the .ctr/.key files and save them in the /Users/username/Library/Application Support/Tunnelblick/Configurations/ folder, where username is the home directory of the current user.
  • Go to the configuration for Tunnelblick and edit the config file.
  • Click on the Tunnelblick icon in the upper right corner of the display, then click Details...
    Tunnelblick-pulldown.png
  • "OpenVPN Log Output" window should appear, click on Edit Configuration. Make sure the Set Nameserver (Experimental) option is checked.
    Tunnelblick-editconfig.png
  • Delete the default sample configuration
    Openvpn conf1.png
  • Copy and paste the configuration below into the OpenVPN.conf file, replacing XYZ for your HDA's nickname:
      remote XYZ.yourhda.com 1194
      client
      dev tun
      proto udp
      resolv-retry infinite
      nobind
      persist-key
      persist-tun
      ca Ca-cert.crt
      cert AmahiHDAClient.crt
      key AmahiHDAClient.key
      comp-lzo
      verb 3
      auth-user-pass


  • Any time you want to connect from outside of your home network and into your home network, simply click on Connect
  • Don't forget to click on the DNS option.
  • Input your username and password
  • It is possible to use keyrings. Will link here the details when available.

Note:

  • The procedure above has been tested with an Intel-based Mac.

Acessing Shares:

  • Once connected, in Finder, go to "Go" > "Connect to Server". You'll be prompted to type in your HDA address (smb://hda)
  • There have been cases in which the hda name did not work due to DNS issues. If this is the case, you can connect via ip address of your HDA (smb://192.168.X.X)