Deploy UserGate VE on a cloud server
- Save the firewall image.
- Upload the image to the image storage.
- Optional: change the virtual network adapter type.
- Optional: enable the multi-queue property for the virtio virtual network adapter.
- Create a cloud server from the image.
- Assign an IP address to access the firewall.
- Initialize the firewall.
- Specify the DNS and NTP servers.
- Activate the license.
1. Save the firewall image
- Go to the ticket that was created when ordering the firewall.
- Save the firewall image to the device you will use to configure it.
2. Upload the image to the image storage
- In the control panel, in the top menu, click Products and select Cloud Servers.
- Go to the Images section.
- Click Create image.
- Enter the image name.
- Select the location where you want to deploy the firewall.
- In the Operating system field, select — Other.
- In the Source field, select — File.
- Click Upload and select the firewall image file on your device.
- Select the image format and container format.If you are not sure which formats to specify, enter image format
raw, container format —bare. - Click Create.
3. Optional: change the virtual network adapter type
By default, the UserGate firewall image properties have the virtio network adapter installed.You can change the adapter type to improve compatibility with your infrastructure.The cloud server will inherit the adapter type set in the image properties at the time of server creation.Changing the adapter type will not apply to already created cloud servers.
To change the adapter type:
-
Open OpenStack CLI.
-
Change the virtual network adapter type:
openstack image set --property hw_vif_model=<vif_model> <image>Specify:
-
<vif_model>— the virtual network adapter type:vmxnet3;e1000;e1000e.
-
<image>— image ID or name. You can view the list of images using theopenstack image list.
-
4. Optional: enable the multi-queue property for the virtio virtual network adapter
Enabling the multi-queue property will increase the load on all vCPUs.
By default, the UserGate firewall image properties have the virtio network adapter installed.If you have not changed the adapter type, you can enable the multithreading property, which allows the use of multiple vCPUs.
-
Open OpenStack CLI.
-
Enable the multi-queue property:
openstack image set --property hw_vif_multiqueue_enabled=true <image>Specify
<image>— image ID or name. You can view the list of images using theopenstack image list.
5. Create a cloud server from the image
-
In the control panel, in the top menu, click Products and select Cloud Servers.
-
In the Servers section, click Create server.
-
Enter the cloud server name — it will only be displayed in the control panel.
-
Select the location where you uploaded the firewall image.
-
In the Source block, open the Images tab and select the firewall image.
-
Select the cloud server configuration.The configuration must comply with the requirements for the selected firewall model.
-
Select the internet access type.You will need at least one public address to access the firewall from the internet:
- public floating IP address — a private subnet and one static public IP address;
- direct public IP address — one static public IP address;
- public subnet — all IP addresses in the subnet will be accessible from the internet.
-
If you selected Public floating IP address in step 7, select or create a private subnet to which the server will be connected.
-
Select the remaining server settings — see the Create Cloud Server instructions for details.
-
Click Create.
6. Assign an IP address to access the firewall
UGOS 6
UGOS 7
UGOS 7.1 and higher
-
Open the CLI.
-
- login — Admin;
- password — utm.
-
Switch the internet port to
staticmode:iface config -name port0 -mode static -
Assign an IP address to the port:
iface config -name port0 -ipv4 <ip_address>/<mask>Specify:
<ip_address>— the IP address of the server's internet port. You can copy the IP address in the control panel: in the top menu, click Products → Cloud Servers → Servers section → server page → Ports tab → in the port card, click next to the IP address. The address is specified without a mask;<mask>— the subnet mask.
-
Create a default route to the internet:
gateway add -ipv4 <gateway> -weight 1 -enabled true -default trueSpecify
<gateway>— the gateway of the server subnet where the internet port is located. The subnet gateway can be viewed in the control panel: in the top menu, click Products → Cloud Servers → Servers → server page → Ports tab → subnet name → Subnets tab → subnet card → Subnet Gateway field.
7. Initialize the firewall
-
Open the following page in your browser:
https://<ip_address>:8001Specify
<ip_address>— the IP address of the firewall. You can copy the IP address in the control panel: in the top menu, click Products → Cloud Servers → Servers section → server page → Ports tab → in the port card, click next to the public IP address. -
Select the system language.
-
Select the time zone.
-
Accept the license agreement.
-
Optional: change the administrator login.
-
Change your password.
-
Click Start.
-
Wait for the installation procedure to complete.
8. Specify DNS and NTP servers
-
Open the following page in your browser:
https://<ip_address>:8001Specify
<ip_address>— the IP address of the firewall. You can copy the IP address in the control panel: in the top menu, click Products → Cloud Servers → Servers section → server page → Ports tab → in the port card, click next to the IP address. -
Enter login and password.
-
Go to Settings → Network → DNS.
-
Click Add.
-
Enter the DNS server IP addresses.We recommend using the Selectel recursive DNS servers, but you can specify any available DNS servers.
-
Click Save.
-
Optional: go to the Settings section and in the Server Time Configuration block, change the value in the Primary NTP Server field.We recommend using the Selectel NTP servers, but you can specify any available NTP servers.
9. Activate the license
UGOS 6
UGOS 7 and higher
-
Open the following page in your browser:
https://<ip_address>:8001Specify
<ip_address>— the IP address of the firewall. The IP address can be copied in the control panel: in the top menu, click Products → Cloud Servers → section Servers → server page → Ports tab → in the port card, click next to the public IP address. -
Enter login and password.
-
At the top, click the Unregistered version button.
-
Enter the PIN code received in the ticket when ordering the firewall.
-
Click Next.
-
Fill out the registration form. We recommend using the same data as in your Selectel account.
-
Click Next.
-
Wait for the firewall to register. Information about the license composition and expiration dates of the components will be displayed in the Dashboard section in the License block.