Guide for org admins
Put gate42 in front of your org
host42 hosts, gate42 guards. This guide runs gate42 as a VM, sends your departments' internet traffic through it, and makes it the checkpoint between them.
You need: the org Admin role, a free public IP in your org, and the gate42 image in your provider's catalogue. gate42's own documentation is on gate42.in.
The plan
| Part | Example | What it does |
|---|---|---|
| gate42, card 1 (WAN) | subnet public, with a public IP |
Faces the internet |
| gate42, card 2 (LAN) | subnet firewall, 10.0.10.0/24 |
Faces your departments |
| Department subnets | marketing 10.0.20.0/24, finance 10.0.30.0/24 |
Their internet traffic, and traffic between them, pass gate42 |
| Route table | via-gate42 |
Sends the departments' 0.0.0.0/0 to gate42's LAN card |
The examples use your org's default VPC (10.0.0.0/16). gate42's own LAN subnet must use a
different route table from the departments it protects, or its traffic would loop back to it;
host42 refuses that.
1. The image (provider)
Your provider adds each gate42 release to the catalogue once, on the server, with
padmini-host image add and the address and checksum from
gate42.in. The image needs the firmware uefi: the default,
with Secure Boot, cannot start gate42.
2. Subnets and security groups
- Under Networking › Subnets, create
firewall(10.0.10.0/24, route tablemain) and your department subnetsmarketingandfinance(any route table for now). -
Under Networking › Security groups, create:
gate42-wan: inbound tcp port 8443 (gate42's web interface) from your office's address range, plus the port of the VPN you will run on gate42;gate42-lan: inbound, protocol all from the VPC's range10.0.0.0/16.
3. Create the gate42 VM
Under Compute › Virtual machines › Create VM:
- Image: gate42. Size:
s2(2 vCPU, 4 GiB). Disk: 20 GiB. - Network: subnet
public, security groupgate42-wan, and a free Public IP with 1:1 NAT. - Add an interface and choose the subnet
firewall. This second card is gate42's LAN. - Choose Create.
- On the VM's Network tab, find interface 2 and Change its security groups to
gate42-lan.
4. First boot and first login
- Open the VM's Console. After one to two minutes, gate42 shows its root password above the login prompt.
- Open https://<the public IP>:8443 and log in. The browser warns about gate42's own certificate the first time.
- In gate42's setup wizard, give the LAN the address host42 gave interface 2 (the VM's
Network tab shows it, for example
10.0.10.4/24) and switch off gate42's own DHCP server on the LAN: the host42 subnet already hands out addresses. - In gate42, add the subnet's gateway (
10.0.10.1) on the LAN and a route for your VPC's range (10.0.0.0/16) through it, so that gate42 reaches the department subnets.
The gate42 quick start covers the rest of its first setup.
5. Let gate42 forward traffic
On the gate42 VM's Network tab, open interface 2's Admin settings and turn on Accept traffic for other addresses. Choose Save.
This makes the card an appliance: it may receive traffic for other addresses, which a firewall must. It still can never send with another VM's address, and host42's edge still checks every packet that leaves your org. The change is in your org's audit log.
6. Send the departments' internet traffic through gate42
- Under Networking › Route tables, choose Create route table in the VPC
defaultand name itvia-gate42. - Open it and add a route: Destination
0.0.0.0/0, Target A NIC (NAT instance, firewall, appliance), and under Which, gate42's LAN card. Choose Add route. - Under Use for subnet, pick
marketingand choose Associate; do the same forfinance.
From now on, every VM in these subnets reaches the internet through gate42, and its rules, intrusion prevention and web filtering apply.
7. gate42 between departments
To make gate42 the checkpoint between departments too, open interface 2's Admin settings
again and, under Inline firewall for these subnets, tick marketing and finance (2 to 15
subnets). Choose Save.
- Traffic between any two chosen subnets now passes gate42, in both directions. Traffic inside one subnet never does: use one subnet per department.
- If the gate42 VM stops, traffic between them stops too. An inline firewall never fails open, and the console warns while it is stopped.
- Change the setting in a quiet hour: open connections may drop.
- A VM with its own public IP in a department subnet still receives internet traffic directly,
and the console says so. Route its
0.0.0.0/0to gate42 as above to inspect that traffic too.
Next
- Set up gate42's VPN (WireGuard or IPsec) so your people reach private servers from anywhere.
- With a Managed plan, Padmini sets gate42 up as part of your host42 delivery. Talk to us.