You most likely need to reconfigure your openvpn setup to route all traffic through the vpn by default. You can do this by re-initializing the configuration script. In terminal run
/usr/local/openvpn_as/bin/ovpn-init --force
. Then make the following changes to your default settings when the script activates:
used by the Admin Web UI:
(1) all interfaces: 0.0.0.0
(2) eth0: 172.31.5.247
Please enter the option number from the list above (1-2).
> Press Enter for default [1]:1
Please specify the port number for the Admin Web UI.
> Press ENTER for default [943]:943
Please specify the TCP port number for the OpenVPN Daemon
> Press ENTER for default [443]:443
Should client traffic be routed by default through the VPN?
> Press ENTER for default [no]:YES
Should client DNS traffic be routed by default through the VPN?
> Press ENTER for default [no]:YES
Use local authentication via internal DB?
> Press ENTER for default [yes]:yes
Private subnets detected: ['172.31.0.0/16']
Should private subnets be accessible to clients by default?
> Press ENTER for EC2 default [yes]:yes
To initially login to the Admin Web UI, you must use a
username and password that successfully authenticates you
with the host UNIX system (you can later modify the settings
so that RADIUS or LDAP is used for authentication instead).
You can login to the Admin Web UI as "openvpn" or specify
a different user account to use for this purpose.
Do you wish to login to the Admin UI as "openvpn"?
> Press ENTER for default [yes]: no
> Specify the username for an existing user or for the new user account: user
Type the password for the 'user' account:
Confirm the password for the 'user' account:
> Please specify your Activation key (or leave blank to specify later): _I LEFT IT BLANK
THEN, you want to go the the admin page in the openvpn access server, and make sure that you IP address is correct for OpenVPN. More than likely, it is using your private subnets IP address, and not your Public IP address. So change that IP in the Access Server Web Interface, then re-download the config file and try again.