Hello,
I am just getting started on PVE firewalling in my test lab, so I thought I'd start the firewall with an ACCEPT policy everywhere and then work my way forward. But I am failing.
I enabled the firewall for LXC 103:
and for the host:
The proxmox-firewall package is installed.
So far, so good. The UI now tells me that the datacenter firewall is still not active, and in fact,
is empty.
If I now flick on the datacenter firewall:
then things go weird. Like packet loss kinda weird. I cannot quite figure it out, but TCP connections between two hosts are no longer reliable when I flick that switch, despite the ACCEPT policies everywhere. Like the TCP connection only works once every 10 tries.
What am I missing? What could be going on?
PS: I've disabled `nftables` and verified that the exact same problem appears with `iptables`.
Thank you,
martin
I am just getting started on PVE firewalling in my test lab, so I thought I'd start the firewall with an ACCEPT policy everywhere and then work my way forward. But I am failing.
I enabled the firewall for LXC 103:
Code:
# /etc/pve/firewall/103.fw
[OPTIONS]
enable: 1
policy_in: ACCEPT
and for the host:
Code:
# /etc/pve/nodes/pve/host.fw
[OPTIONS]
enable: 1
nftables: 1
The proxmox-firewall package is installed.
So far, so good. The UI now tells me that the datacenter firewall is still not active, and in fact,
Code:
nft list ruleset
If I now flick on the datacenter firewall:
Code:
# /etc/pve/firewall/cluster.fw
[OPTIONS]
policy_out: ACCEPT
policy_in: ACCEPT
policy_forward: ACCEPT
enable: 1
then things go weird. Like packet loss kinda weird. I cannot quite figure it out, but TCP connections between two hosts are no longer reliable when I flick that switch, despite the ACCEPT policies everywhere. Like the TCP connection only works once every 10 tries.
What am I missing? What could be going on?
PS: I've disabled `nftables` and verified that the exact same problem appears with `iptables`.
Thank you,
martin
Last edited: