You may need to run the commands in the following steps as root (sudo).
#Openvpn activation key how to#
One or more firewall rules to allow access from trusted environments to the OpenVPN appliance on the admin port ( 943 by default, but can be changed).įor more information, see How to create NAT rules and How to create firewall rules. Note that all VPN users will be NATed to the IP address of the OpenVPN appliance. One or more firewall rules to allow users connected to the OpenVPN appliance to access VMs on other networks for administration purposes. Configuring the edge gatewayĪfter you've created the network, you'll need to configure the edge gateway to control access to the VMs in your environment by creating:Ī Source NAT rule to allow the OpenVPN appliance outbound access to the internet.Ī Destination NAT rule to allow inbound access from the internet.Ī firewall rule to allow inbound access from the internet on port 443. However, if you're approaching the network interface limit of your edge gateway, it's possible to deploy the OpenVPN appliance into an existing network.įor more information, see How to create a routed VDC network. This enables you to tightly control access from VPN clients to the VMs in your environment using firewall rules on the edge gateway. Ideally, no other virtual machines (VMs) should connect to this network. To secure your environment, we recommend that you deploy the OpenVPN appliance into a new, routed VDC network. Preparing your virtual data centre Create a new VDC network To ensure you're running the latest release of OpenVPN, we recommend that you download the latest version of the appliance directly from the OpenVPN website: If you require additional concurrent connections, you'll need to obtain and install a licence key. Without a licence key, you are limited to only two concurrent VPN connections.