1. Overview
This guide covers how to use OpenVPN client to connect to an OpenVPN Access Server.
|
What is OpenVPN? OpenVPN is an open-source commercial software that implements virtual private network (VPN) techniques to create secure point-to-point connections in routed or bridged configurations and remote access facilities. |
2. VPN Quick Start
|
Quick Setup for users: If you’re an OAT organization member, follow these simple steps to get connected quickly. |
|
Step 1 - Access the Web Portal: Visit https://access.vpn.taocloud.org and sign in with SAML using your OAT google credentials. |
|
Step 2 - Download Client: Download the appropriate OpenVPN client for your operating system directly from the portal. |
|
Step 3 - Download Configuration: Download your personalized connection profile ( |
|
Step 4 - Install and Import: Install the OpenVPN client and import your |
|
Step 5 - Connect: Connect to VPN. The VPN server address is automatically configured as |
|
Important Links:
|
3. Client Installation
3.1. Windows Installation
|
Step 1: Visit https://access.vpn.taocloud.org and sign in with SAML using your OAT google credentials. |
|
Step 2: Click |
|
Step 3: Run the installer with administrator privileges |
|
Step 4: Follow the installation wizard |
|
Step 5: The OpenVPN GUI will be available in the system tray |
3.2. MacOS Installation
|
Step 1: Visit https://access.vpn.taocloud.org and sign in with SAML using your OAT google credentials. |
|
Step 2: Click |
|
Step 3: Run the installer with administrator privileges |
|
Step 4: Follow the installation wizard |
|
Step 5: The OpenVPN GUI will be available in the Launchpad |
3.3. Linux Installation
|
Step 1: Visit https://access.vpn.taocloud.org and sign in with SAML using your OAT google credentials. |
|
Step 2: Click |
|
Step 3: Save the profile to a permanent place within your file system. |
|
Step 4: Read first the documentation pages here: |
|
Step 5: Install the client on your machine following instructions from the documentation pages. |
|
Step 6: Import the Connection profile you downloaded before with instructions from the documentation pages. |
3.4. Mobile Installation
|
Android: Install "OpenVPN for Android" from Google Play Store |
|
iOS: Install "OpenVPN Connect" from Apple App Store |
4. Configuration
4.1. Obtaining Configuration Files
|
TAO Cloud VPN - Quick Setup:
|
|
Alternative - Manual Setup: Contact your VPN administrator to obtain:
|
4.2. Configuration File Structure
A typical TAO Cloud VPN configuration file contains:
client
dev tun
proto udp
remote connect.vpn.taocloud.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
cipher AES-256-CBC
verb 3
|
TAO Cloud VPN Server: The remote server address is |
|
Security Note: Never share your configuration files or certificates with unauthorized users. These files contain sensitive information that can be used to access your VPN. |
5. Connecting to VPN
5.1. Windows (OpenVPN GUI)
|
Step 1: Copy your .ovpn file to: |
|
Step 2: Right-click the OpenVPN GUI icon in the system tray |
|
Step 3: Select your configuration and click "Connect" |
|
Step 4: Enter your username and password when prompted |
5.2. macOS (Tunnelblick)
|
Step 1: Double-click your .ovpn file to import it into Tunnelblick |
|
Step 2: Click the Tunnelblick icon in the menu bar |
|
Step 3: Select "Connect [configuration-name]" |
|
Step 4: Enter credentials if prompted |
5.3. Linux (Command Line)
|
Step 1: Save your configuration file (e.g., |
|
Step 2: Connect using:
|
|
Step 3: Enter credentials when prompted |
|
Alternative - Background connection:
|
5.4. Verifying Connection
To verify your VPN connection:
-
Check your IP address:
curl ifconfig.me -
Verify DNS resolution works correctly
-
Test access to internal resources (if applicable)
-
Monitor connection logs for any errors
6. Troubleshooting
6.1. Common Issues
|
Connection Timeout:
|
|
Authentication Failed:
|
|
DNS Issues:
|
6.2. Log Analysis
Enable verbose logging by adding to your configuration:
verb 4
log openvpn.log
6.3. Testing Connectivity
|
Test basic connectivity:
|
|
Test DNS resolution:
|
|
Check routing table:
|
7. Security Best Practices
|
Important Security Guidelines:
|
7.1. Kill Switch Configuration
Add these lines to your configuration for automatic disconnection on VPN failure:
# Windows
block-outside-dns
# Linux/macOS
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
7.2. Certificate Management
|
Certificate Security:
|
8. Advanced Usage
8.1. Custom Routing
To route only specific traffic through VPN:
# Add to configuration
route-nopull
route 192.168.1.0 255.255.255.0
8.2. Multiple Configurations
Manage multiple VPN configurations by organizing them in separate directories and using descriptive names.
8.3. Scripting and Automation
Use scripts to automate connection processes:
#!/bin/bash
sudo openvpn --config /path/to/config.ovpn --auth-user-pass /path/to/credentials.txt --daemon
For additional support, contact your VPN administrator or visit the official OpenVPN documentation at https://openvpn.net/community-resources/