How to establish VPN connection from macOS/iOS/Windows/Android/Linux to Vigor3900 via OpenVPN?

Support Model : Vigor3900Vigor2960

Vigor3900 and Vigor2960 support OpenVPN since firmware version 1.4.0. OpenVPN provides many configurable parameters, such as network administrator can choose to use TCP or UDP to construct the VPN, specify the port number for connecting, also the algorithm for encrypting tunnel. OpenVPN is an open-source software application, which supports on all the common operating systems. You can connect OpenVPN from every platform, as long as that you have the suitable software for it. This article demonstrates how to establish OpenVPN connection from macOS, iOS, Windows, Android and Linux devices to Vigor3900 or Vigor2960.

Content:

 

 

Setting on Vigor3900 or Vigor2960

1. Create the OpenVPN User Profile:

  1. Go to User Management >> User Profile page and click Add
  2. Enable the profile and enter Username and Password
  3. Enable OpenVPN Dial-In

 

2. Set the connecting details, go to VPN and Remote Access >> OpenVPN General Setup page, OpenVPN General Setup tab:

  1. Enable OpenVPN
  2. Enable TCP or UDP mode, depends on which transfer protocol you would like to use for connecting OpenVPN
  3. Set the connection Port
  4. Click Apply to save

 

  • Note: Please confirm router time setting is correct before creating client configuration
  • 3. Create client configuration, go to OpenVPN Client Configuration tab:

    1. Choose the WAN interface for OpenVPN connection as Remote Host and Interface
    2. Select the TCP or UDP as Protocol depends on which you would like to use
    3. (optional) Set up Auto Dial-Out and Set VPN as Default Gateway if needed
    4. Give a Config filename
    5. Click Download to create and download the OpenVPN configuration file, and send to the device you would like to use to connect OpenVPN

     

     

     

    Connecting from Mac (macOS)

    1. Download available OpenVPN client software, here we take Tunnelblick as example

    2. Install Tunnelblick, then start it and import the client configuration file:

    1. Click I have configuration files
    2. Double click the client configuration file, then select "All Users" or "Only Me" depends on whether share this VPN profile to other users

    Note: If you can not import the client configuration by double clicking the ovpn file, please try to drag and drop the ovpn file on the Tunnelblick icon on the menu bar or dock.

     

    3. To start the VPN tunnel, right click the Tunnelblick icon on the menu bar, then click Connect openvpn ("openvpn" is the name of the client configuration file)

     

    We can check the VPN status after the connection is established

     

     

     

    Connecting from iPhone or iPad (iOS)

    1. Download OpenVPN Connect from App store

    2. Send the config file to iOS device, here we send it via mail

    3. Tab the file and it will redirect to OpenVPN Connect

     

    4. Tab '+' to import the client configuration

     

    5. Enter Username and Password, then switch on to connect OpenVPN

     

    We can check the VPN status after connection is established.

     

     

     

    Connecting from Windows

    1. Dowload and install OpenVPN for Windows

    2. Import the client configuration file:

    1. Right click the OpenVPN icon on the taskbar, click Import file...
    2.  

    3. Select the configuration file then click Open

     

    3. Establish VPN connection:

    1. Right click the OpenVPN icon on the taskbar, then click Connect
    2.  

    3. Enter Username and Password, then click OK to connect

     

    We can check the VPN status after connection is established.

     

     

    Connecting from Android

    1. Download OpenVPN Connect from Play store

    2. Send the configuration file to Android device, here we send it via mail, then download it to the device.

     

    3. Import the client configuration file:

    1. Open OpenVPN Connect, then tap the menu icon on the top right of the app, tab Import >> Import Profile from SD card
    2. Select the client configuration file

     

    4. Establish VPN connection, enter Username and Password, then tab Connect.

     

    We can check the VPN status after connection is established.

     

     

    Connecting from Linux (Ubuntu)

    1. Download the config file from router and run CLI

    2. Move to the directory where the configuration file is located

    directory    

     

    3. Install OpenVPN package by command

    • sudo apt-get install openvpn
    install openvpn    

     

    4. Connect OpenVPN by command

    • sudo openvpn --config [openvpn config filename]

    5. Enter username and password

    run openvpn    

     

    vpn status    

     

    Was this article helpful?
    121How to establish VPN connection from macOS/iOS/Windows/Android/Linux to Vigor3900 via OpenVPN? has been viewed------ 121 ------times.