The file now should look exactly like this except for the domain name:
Go back to ClearOS and stop the OpenVPN service. Then start it again.
The next steps of this chapter are extremely crucial, so follow them very carefully. Misconfiguring something now may require advanced techniques to connect back to Proxmox. Since now on triple check everything you do till the end of the chapter.
Be sure that your OpenVPN connection is working. To test it activate the OpenVPN connection and connect to ClearOS using the address https://10.8.0.1:81
If it’s working you should be ok.
Remember, again, misconfiguring something now may require advanced techniques to connect back to Proxmox.
Go to Proxmox, click on the Proxmox server in the left sidebar, then Network and double click on the vmbr0 IP address
Delete everything but don’t touch the Bridge ports: eth0 field, type ClearOS in the Comment field, then click OK
Triple check that you did not change the Bridge ports: eth0 field
Double click on the vmbr1 IP address field
Insert this settings:
IP address: 192.168.170.100
Subnet mask: 255.255.255.0
Click on the ClearOS VM, then click on Options, then double click on the Start at boot field, select it and hit OK
Triple check that you did select start at boot
Double click on the Start/Shutdown order field, configure ClearOS to be the first VM to boot and hit OK
Now click on the ClearOS VM, then Network and triple check that your IP settings look exactly like this. Then, click on Restart
Remember, if you made a mistake in the last steps you will require advanced techniques to connect back to Proxmox.
If you are absolutely sure that everything is correctly configured hit Yes
Since now on you will be able to connect to Proxmox only when the OpenVPN connection is active. ClearOS will act as a shield and will protect Proxmox from undesired connections.
The Proxmox server will reboot, then it will automatically start the ClearOS virtual machine, so wait 3 or 4 of minutes. Afterwards you should be able to connect to Proxmox from this address only when the OpenVPN connection is active: