Private network
Podmaker connects all servers of your organization with an encrypted
WireGuard network. Each server gets a private address (10.77.x.y), and
the servers talk to each other through it.
What it is for:
- An app on
app-01can use a shared database ondata-01. Podmaker opens the database only on the private address, never on the internet. - Firewall rules per server, and which servers may reach a shared service.
app-01 (10.77.0.2) ──── encrypted ──── data-01 (10.77.0.1)
shop/production ── DB_HOST=10.77.0.1 ──▶ pg-main (10.77.0.1:20000)
How it works
-
Joining is automatic. Each agent creates its own key, and the private key never leaves the server. The panel gives each server its address and the list of the others.
-
Peers. Only servers of the same organization see each other.
-
Using a shared service from another server. When you connect an app to a shared service on another server, Podmaker publishes that service on the private address of its server (ports
20000and up). The app gets that address in its variables. On the same server nothing changes: the service stays on the internal Docker network. -
Where you see it. In the panel under Servers → a server → Private network (address, which servers answer); in the desktop app under Servers; or with:
podmaker network status
Requirements
-
Linux 5.6 or newer. WireGuard is part of the kernel. Ubuntu 22.04+, Debian 11+ and Rocky 9 all have it.
-
An up-to-date agent. The agent gets only one extra right in its systemd unit,
CAP_NET_ADMIN(network settings). Agents installed before this version need their unit updated once. Run the install command again, or on the server:curl -fsSL https://panel.podmaker.sh/downloads/imp-agent.service -o /etc/systemd/system/imp-agent.service echo wireguard > /etc/modules-load.d/podmaker-wireguard.conf && modprobe wireguard systemctl daemon-reload && systemctl restart imp-agent -
UDP port 51820 open between your servers. This is the only port. See your provider below.
Servers Podmaker creates for you (Providers → Create server) get this rule automatically.
Opening the port to everyone is safe with WireGuard. It does not answer any packet that is not signed with a known key, so a port scan sees nothing. If you prefer, allow only your servers’ public IP addresses.
Open UDP 51820 at your provider
Hetzner Cloud
- Console → your project → Firewalls, then open the firewall attached to your servers (or Create Firewall).
- Inbound rules → Add rule:
- Protocol: UDP;
- Port: 51820;
- Source: Any IPv4 and Any IPv6, or your servers’ IPs.
- Apply to every Podmaker server, then Save.
DigitalOcean
- Networking → Firewalls, then open the firewall used by your Droplets.
- Inbound Rules → New rule → Custom:
- Protocol: UDP;
- Port range: 51820;
- Sources: All IPv4, All IPv6 (or your Droplets).
- Make sure the firewall is applied to every Podmaker Droplet.
AWS (EC2)
- EC2 → Instances → your instance → Security → Security groups.
- Edit inbound rules → Add rule:
- Type: Custom UDP;
- Port: 51820;
- Source: 0.0.0.0/0 (and ::/0), or the security group of your other servers.
- Do this for each security group your Podmaker servers use.
Google Cloud (Compute Engine)
- VPC network → Firewall → Create firewall rule:
- Direction: Ingress;
- Targets: the network tag of your servers;
- Source IPv4 ranges: 0.0.0.0/0;
- Protocols and ports: UDP 51820.
- Add the tag to every Podmaker VM.
Microsoft Azure
- Virtual machine → Networking → Add inbound port rule:
- Source: Any;
- Destination port ranges: 51820;
- Protocol: UDP;
- Action: Allow.
- Repeat for the network security group of each VM.
Vultr
- Products → Network → Firewall, then open the group used by your instances.
- Add rule:
- Protocol: UDP;
- Port: 51820;
- Source: anywhere (IPv4 and IPv6 rules are separate).
Akamai / Linode
- Firewalls, then open the firewall of your Linodes.
- Inbound Rules → Add an Inbound Rule:
- Protocol: UDP;
- Ports: 51820;
- Sources: All IPv4, All IPv6;
- Action: Accept.
Oracle Cloud
-
Networking → Virtual cloud networks → your VCN → Security Lists (or the Network Security Group).
-
Add Ingress Rules:
- Source CIDR: 0.0.0.0/0;
- IP Protocol: UDP;
- Destination port range: 51820.
-
Oracle’s Ubuntu images also block ports in the server itself. On each server run:
iptables -I INPUT -p udp --dport 51820 -j ACCEPT && netfilter-persistent save
OVHcloud, Scaleway, IONOS, Contabo and others
These have no firewall in front of the server by default. If you turned one on (OVH Edge Network Firewall, Scaleway Security groups, IONOS Firewall policies), add an inbound UDP 51820 rule there.
A server at home or in an office
Forward UDP 51820 on the router to the server. A server behind NAT without forwarding can still join, but only by calling out: at least one server it talks to must have the port open.
A firewall on the server itself
If the server runs its own firewall, open the port there too:
# Ubuntu / Debian with ufw
ufw allow 51820/udp
# Rocky / Alma / RHEL / Fedora with firewalld
firewall-cmd --permanent --add-port=51820/udp && firewall-cmd --reload
# plain nftables
nft add rule inet filter input udp dport 51820 accept
Check it
podmaker network status
SERVER ADDRESS STATE PEERS
app-01 10.77.0.2 up data-01 ✓
data-01 10.77.0.1 up app-01 ✓
✗ (never answered) means the port is closed somewhere between the two servers. Check the provider firewall first, then the server’s own firewall. The connection comes up within a minute of opening it; nothing needs a restart.