What is OpenVPN

    With OpenVPN, you can:
  • Tunnel any IP subnetwork or virtual ethernet adapter over a single UDP or TCP port,
  • Configure a scalable, load-balanced VPN server farm using one or more machines which can handle thousands of dynamic connections from incoming VPN clients,
  • Use all of the encryption, authentication, and certification features of the OpenSSL library to protect your private network traffic as it transits the internet,
  • Use any cipher, key size, or HMAC digest (for datagram integrity checking) supported by the OpenSSL library,
  • Choose between static-key based conventional encryption or certificate-based public key encryption
  • Use static, pre-shared keys or TLS-based dynamic key exchange
  • Use real-time adaptive link compression and traffic-shaping to manage link bandwidth utilization
  • Tunnel networks whose public endpoints are dynamic such as DHCP or dial-in clients,
  • Tunnel networks through connection-oriented stateful firewalls without having to use explicit firewall rules
  • Tunnel networks over NAT
  • Create secure ethernet bridges using virtual tap devices, and
  • control OpenVPN using a GUI on Windows or Mac OS X

Setup OpenVPN Cloud

Step 1: Get OpenVPN
  • Go to openvpn.net page: https://openvpn.net/download-open-vpn/
  • Choose your VPN Server on Cloud, in this article, I choose Google Cloud and I need to pay $14.20/month + BYOL license fee
  • Login to admin page
  • Go to Configuration -> VPN Settings, change static IP Address Network to
  • Go to User Management -> User Permissions, create 2 user with static IP and allow access from All other VPN Clients, check Allow Auto-Login
  • Save Settings -> Update Running Server, Now we have 2 user: openvpn-firm with static IP: and openvpn-station with static IP:
Step 2: Connect XBStation firm with OpenVPN
  • Login
  • Download autologin profile and you will get client.ovpn file, move this file to Rasp Pi
  • At Rasp Pi, XBStationManager -> Settings -> Choose "Peer To Peer" -> enable "Auto Connect OpenVPN", browse to client.ovpn file, input Group control station IP -> click "Apply" button
  • After that, click "Reboot" button. Now, firm will auto start OpenVPN and auto run anytime you reboot Rasp Pi
Step 2: Connect XBStation station with OpenVPN
  • Download OpenVPN setup file for Windows
  • At bottom right of screen, click "Connect"
  • Input username and password, then connect to OpenVPN