Vpn Analysis in Mac OS

Source: Internet
Author: User


Vpn is a vpn Client running on Windows.

Due to work requirements, I would like to share with you today how to use vpn in Mac OS.

Operating System: Mac OS X Lion

Software used:
Openvpn has not officially developed a client for mac OS, so it can only be developed by a third party.

1. Tunnelblick, a third-party software, is free of charge and is suitable for openvpn configuration.
: Http://code.google.com/p/tunnelblick/wiki/DownloadsEntry? Tm = 2

2. tuntaposx virtual NIC Driver
: Http://tuntaposx.sourceforge.net/

1. Install Tunnelblick
After the download is complete, a dmg file is used to open the file (for example)


Double-click the tunnel icon to remind you to install it. Double-click "Tunnelblick" to run it. (This will allow you to enter the password of the current logon SYSTEM account)
The first use will show


Select "Install and edit sample Settings" to close this window. You will be asked if you already have a configuration file. Select yes and I have. In this case, you will be asked whether the configuration file type is openvpn or Tunnelbick. Select openvpn.
After selecting this option, a directory is automatically opened, that is, \ User \ currently logged-on User \ Library \ Application Support \ Tunnelblick \ connections puts your vpn key in this directory.
(Ca. crt, songshoujiong. crt, songshoujiong. key) the vpn configuration file (client. ovpn) is also placed in
Note that the key name in client. ovpn must be the same as your actual command.


After saving and exiting, click the tunnel icon in the upper-right corner of the screen to connect to the vpn.


Note: A problem may occur during connection at this time. The prompt is: not found tun \ tap device does not have a virtual NIC Driver. The driver has been provided in the above text, and the installation method is always the next step. After installing the driver, check the dev directory. There are already many tun \ tap virtual nodes.

Sh-2.1 # ls-l/dev/| grep tun crw-rw ---- 1 root wheel 35, 0 11 19 tun0 crw-rw ---- 1 root wheel 35, 1 11 19 :23 tun1 crw-rw ---- 1 root wheel 35, 10 11 19 :23 tun10 crw-rw ---- 1 root wheel 35, 11 11 19 :23 tun11 crw-rw ---- 1 root wheel 35, 12 11 19 tun12 sh-2.1 # ls-l/dev/| grep tap crw-rw ---- 1 root wheel 34, 0 11 19 tap0 crw-rw ---- 1 root wheel 34, 1 11 19 tap1 crw-rw ---- 1 root wheel 34, 10 11 19 tap10 crw-rw ---- 1 root wheel 34, 11 11 19 tap11 crw-rw ---- 1 root wheel 34, 12 11 19 tap12
Run the vpn again to establish a connection with the server!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.