Installation of a Securepoint UTM in a cloud
Last adaption: 04.2024
New:
- Description for setting up the internal network in the Hetzner Cloud added
notempty
This article refers to a Resellerpreview
-
UTM in the Hetzner Cloud
Installation of the UTM as a VM
Video-Instructions
The interfaces used by the firmware available at the time of video creation, labeled as eth0, eth1 etc.,
have since been changed. The virtual machines now have the names LAN1, LAN2 etc., as stated in the text.
have since been changed. The virtual machines now have the names LAN1, LAN2 etc., as stated in the text.
- Log in to the Hetzner Cloud administration
- Add a server (Consider the equipment)
- Select any type
- Add local network
- Assign a name
- Server Create for a fee
- Select server
- Integrate the Securepoint UTM Interactive Installer ISO image and restart the server Call up the console with button
button Ctrl Alt Del - Carry out installation
- When the message Eject the ISO image and appears,
- Complete the installation with < OK >(Firewall reboots)
- Log in with default login details Username: admin
Password: insecure
- Afterwards: Secure access, establish access to the Internet, enable administration from your own network:
Configuration of the external interface
This is located within the Hetzner cloud in a private network. The administration is only possible via the public IP address on the external interface LAN1 and must be explicitly enabled there.
user get | Note down Admin ID |
user set id xxx name admin password "strong_Password" | Change password Passwords must meet the following criteria:
|
interface set name LAN1 flags [ DHCP DYNADDR ] system update interface |
Enable DHCP |
route new dst 0.0.0.0/0 router LAN1 system update route |
Set default route
Sometimes the following alternative may be necessary:
interface address set id 1 address IP address |
manager new hostlist 192.0.2.192/32 system update rule |
Own IP address / network IP or host name (DynDNS) from which administration is to take place (determine IP address e.g. with http://checkip4.spdyn.de/) |
interface address get | Check whether the IP address of the external interface of the UTM corresponds with the address displayed during the installation of the VM |
https://$IP_der_UTM:11115 | Open the web interface with a static IP address: |
- Finally:
- Enter the login data
- Accept the license agreement and privacy policy
- Basic settings
- Importing the license file
Update to the latest UTM firmware version under Button
Set up the internal network of the UTM
- VMs in the Hetzner cloud always receive an IPv4 address in a 32-user network.
All VMs therefore only communicate with the Hetzner switch (which in reality has routing functions). - In order for the UTM itself not to try to reach the VMs directly (but to ask the switch), the network of the UTM is limited so that only the UTM and the switch are in the same network.
- The Hetzner switch receives a default route to the UTM
- The other VMs in the private Hetzner network require a default route to the Hetzner switch
Securepoint UTM VM | interface address get | Determine the ID of the IP address LAN2 (internal interface of the UTM) |
interface address set id 1 address 192.168.175.2/32 system update interface |
Changing the IP address The Hetzner switch always receives the a.b.c.1 as IP address! | |
route new dst 192.168.175.0/28 router 192.168.175.1 route new dst 192.168.175.1/32 router LAN2 system update route0 |
| |
The default rules should be replaced by specific rules that only allow what is actually required. | ||
Hetzner Cloud | Menu Routes Destination 0.0.0.0 /0 Gateway:192.168.175.2 (IP address of the UTM) |
The Hetzner switch receives a default route to the UTM The warning "You have selected your destination outside the network IP range" can be ignored |
VM in the Hetzner Cloud | Example of a default route on a Debian VM ip route add default via 192.168.175.1 |
The other VMs in the private Hetzner network require a default route to the Hetzner switch |
Windows VM in the Hetzner Cloud | Example of a default route on a Windows server Control Panel > Network and Internet > Network connections, select Network: Properties / Internet Protocol Version 4 (TCP/IPv4) / Properties / Default gateway: 192.168.175.1 |
IP address of the Hetzner switch as default gateway in the adapter settings |