servers/roles/proxmox/templates
Timotej Lazar e7f9132571 proxmox: set up firewall
Firewall policy is set in NetBox as cluster services¹. For Proxmox we
have to manually allow communication between nodes when using L3,
since the default management ipset does not get populated correctly.
We also need to open VTEP communication between nodes, which the
default rules don’t. We allow all inter-node traffic, as SSH without
passwords must be permitted anyway.

This also adds some helper filters that are spectacularly annoying to
implement purely in templates.

¹ There is actually no such thing as as a cluster service (yet?), so
instead we create a fake VM for the cluster, define services for it,
and then add the same services to a custom field on the cluster.
Alternative would be to tie services to a specific node, but that
could be problematic if that node is replaced.
2024-04-05 06:00:50 +02:00
..
cluster.fw.j2 proxmox: set up firewall 2024-04-05 06:00:50 +02:00
frr.conf.j2 proxmox: only advertise local routes 2024-04-04 10:17:58 +02:00
interfaces.j2 proxmox: consolidate interface templates 2024-02-26 16:52:01 +01:00
real.intf.j2 proxmox: consolidate interface templates 2024-02-26 16:52:01 +01:00