Hello,
I installed a new (virtual) PVE 8 instance and created a firewall config with the WebGUI
But this does not work! (blocked myself out)
pve-firewall status gives:
Changing
to
makes the firewall working as configured.
Please fix the GUI to create a correct config
Gerald
I installed a new (virtual) PVE 8 instance and created a firewall config with the WebGUI
- alias
a_intern -- 10.10.68.0/24 - ip_set
s_intern -- a_intern - security group
g_intern -- ACCESS tcp +s_intern 22,8006
Code:
cat /etc/pve/firewall/cluster.fw
[OPTIONS]
enable: 1
[ALIASES]
a_intern 10.10.68.0/24
[IPSET s_intern]
dc/a_intern
[RULES]
GROUP g_intern -i vmbr0
[group g_intern]
IN ACCEPT -source +dc/s_intern -p tcp -dport 22,8006 -log nolog
But this does not work! (blocked myself out)
pve-firewall status gives:
no such alias 'a_intern'
Changing
Code:
[IPSET s_intern]
dc/a_intern
Code:
[IPSET s_intern]
a_intern
Please fix the GUI to create a correct config
- aliases without dc/ in ip_set
- or create global aliases with dc/ prefix
- or?
Gerald