Create custom image for OpenVPN Access Server.
Access server image is provided as OVA file from openvpn site
First convert OVA file to VMDK, Use vmware workstation.
File/Open – select oas_2.8.3.ova file
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image.png)
Complete import.
This will create a set of files in your local file system
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-1.png)
Now you have a file which you can import to Cloud.
Login to Cloud account, go to Object Storage and create authentication URL – Click Pre-Authnticated Request
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-2.png)
Set Name
For Pre-Authenticated Request Target select Bucket as you want to upload to bucket
Set Expiration date
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-3.png)
Click Create
On right site click on “…” button and click Copy Pre-Authenticated Reqeust
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-4.png)
Create curl command like
curl -X PUT -T FILENAME https://objectstorage.us-ashburn-1.oraclecloud.com/YOUR-PREAUTHENTICATED-URLS/FILENAME
Execute command in folder where file is located.
This will upload file to object storage
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-5.png)
Go to custom Images
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-6.png)
Click Import
Set name for this image and select image from Object Storage
![](https://mariuszantonik.com/wp-content/uploads/2020/05/image-7.png)