Mr.PlanB Logo

    Newsletter

    Subscribe our newsletter

    Get new infrastructure guides, comparison reports, and migration notes in your inbox.

    Infrastructure notes, guides, and new tools. Unsubscribe anytime.

    Back to Blog
    Proxmox
    VE
    9.3
    Firewall
    nftables
    iptables
    Network
    Lab

    Proxmox VE 9.3 nftables Firewall: What Happened When We Switched, and Switched Back

    December 5, 2026
    7 min read

    Proxmox VE 9.3 moved the nftables firewall (proxmox-firewall) out of technology preview, but it stays opt-in and iptables remains the default. We switched a 9.3.1 lab node to nftables and back on 1 December 2026. Container rules kept working, forward rules only worked on nftables, and switching back without a guest restart left a container open.

    This page goes with our lab video on the same test. For the rest of the release, see what is new in Proxmox VE 9.3; the stricter firewall rule validation in 9.3 is covered in our 9.2 to 9.3 upgrade guide.

    Video: Proxmox 9.3 Firewall: Switch to nftables? I Tested Switching Back Too (Lab Test)

    iptables vs nftables on one Proxmox VE 9.3.1 node: lab rule counts and the fail-open case after switching back

    What changed in Proxmox VE 9.3

    Per the Proxmox VE 9.3 release notes:

    • The nftables-based proxmox-firewall graduated out of technology preview. It is enabled per node under Node → Firewall → Options → nftables, or with nftables: 1 in /etc/pve/nodes/<node>/host.fw. The iptables-based pve-firewall stays the default.
    • Running guests need to be restarted after switching firewall backends.
    • A bug where SYN flood protection on the host made nftables reject the whole ruleset is fixed.

    The Proxmox VE firewall documentation adds the part that decides it for many setups: rules for forwarded traffic, including VNet level rules in SDN, are only possible with proxmox-firewall. The stock pve-firewall ignores them.

    The lab setup

    One Proxmox VE 9.3.1 node nested in Hyper-V on a mini PC, with these packages:

    pve-manager: 9.3.1 (running version: 9.3.1/4cbab754a7da645d)
    proxmox-firewall: 1.2.7
    pve-firewall: 6.0.9
    

    One Alpine container, 120, with firewall=1 on its network device, a small web server on port 80, the datacenter firewall on, and a container rule set of policy_in: DROP plus one rule:

    IN ACCEPT -p tcp -dport 80 # web only
    

    On iptables, the default

    Ping to the container was dropped and the web page loaded, as the rules say. The host carried 112 iptables rules from pve-firewall and no nftables tables:

    iptables rules from pve-firewall: 112
    nft tables:
    

    Switching to nftables

    root@pve:~# pvesh set /nodes/pve/firewall/options --nftables 1 && cat /etc/pve/nodes/pve/host.fw; sleep 15; systemctl is-active proxmox-firewall; nft list tables
    [OPTIONS]
    
    nftables: 1
    
    active
    table inet proxmox-firewall
    table bridge proxmox-firewall-guests
    

    The iptables count dropped to 0. Before any restart, the container rules still held: ping dropped, web page loaded. A new rule that allowed ICMP took effect within the 15 seconds we waited, and deleting it closed ping again.

    The old firewall bridge (fwbr120i0 and its link pair) stayed until we rebooted the container. After the reboot the container had a plain veth120i0, the ruleset showed 118 rule lines, and the guest chain was short and readable:

    	chain guest-120-in {
    		jump pre-vm-in
    		jump allow-dhcp-in
    		jump allow-ndp-in
    		ct mark set 0x00000078
    		tcp dport 80 accept
    		drop
    	}
    

    The host's management ports sit in one line of the default-in chain:

    		tcp dport { 22, 3128, 5900-5999, 8006 } jump accept-management
    

    A forward rule: nftables only

    We added a host rule to drop RDP routed through the node. On nftables it became a rule in the host-forward chain:

    FORWARD DROP -p tcp -dport 3389 # no RDP through this host
    
    	chain host-forward {
    		tcp dport 3389 drop
    	}
    

    After switching the node back to iptables, the same rule produced 0 iptables rules, and the pve-firewall journal had no line about it. That matches the docs: forward rules are ignored on iptables, and nothing tells you.

    The trap: switching back without a restart

    We switched the node back to iptables. The 112 rules returned and the nftables tables were gone. The command printed no warning. But the container still had its plain veth from the nftables boot, and with the DROP policy still in its config, ping got through:

    root@pve:~# ip -br link | grep -E "fwbr120|veth120" | cut -c1-40; ping -c2 -W1 10.0.2.120 | grep transmitted; curl -s -m3 http://10.0.2.120/ || echo "curl failed"
    veth120i0@if2    UP             fe:dc:bb
    2 packets transmitted, 2 received, 0% packet loss, time 1051ms
    hello-from-ct120
    

    The guest firewall failed open. A container reboot brought back the fwbr120i0 bridge and ping was dropped again. This is the case the release notes warn about with "restart guests after switching", seen from the wrong side.

    SYN flood protection on nftables

    With protection_synflood: 1 on nftables, the ruleset carried the v4-synflood-limit and v6-synflood-limit sets and a block-synflood chain, and the proxmox-firewall journal showed 0 errors in the two minutes after the change. That is the 9.3 fix working on our node.

    Checklist

    1. Have console access that does not depend on the network you are changing (IPMI, iDRAC, iLO, or a local screen).
    2. Switch one node at a time: Node → Firewall → Options → nftables.
    3. Check it took:
    systemctl is-active proxmox-firewall
    nft list tables
    journalctl -u proxmox-firewall -b | grep -i error
    
    1. Restart or live-migrate every running guest that has the firewall on.
    2. From another machine, test one port that should be open and one that should be closed.
    3. Switching back? Restart every guest again, the same day.

    Our opinion: if you route traffic through Proxmox or use SDN, switch now and plan the guest restarts, because forward and VNet rules need nftables. On a simple homelab it is safe to switch, but there is no rush.

    What we did not test

    Clusters, live migration between nodes on different backends, VMs (only a container), and SDN VNet rules. Lab output on this page is from our own node on 1 December 2026; anything marked as opinion is ours. More Proxmox guides are on our Proxmox hub.

    Frequently Asked Questions

    Is the nftables firewall the default in Proxmox VE 9.3?

    No. Per the release notes, the nftables-based proxmox-firewall graduated out of technology preview in 9.3 but stays opt-in. The iptables-based pve-firewall remains the default.

    How do I switch Proxmox to the nftables firewall?

    Per node: Node, Firewall, Options, nftables, or nftables: 1 in /etc/pve/nodes/<node>/host.fw. Then restart or migrate every running guest that has the firewall enabled.

    Do I need to restart guests after switching the Proxmox firewall backend?

    Yes. The release notes say running guests must be restarted after switching backends. In our lab, after switching back to iptables without a restart, a container with a DROP policy answered ping until we restarted it.

    Do forward rules work with the iptables firewall in Proxmox?

    No. The Proxmox firewall docs say forward rules only work with the nftables-based proxmox-firewall and are ignored by pve-firewall. In our lab a forward rule produced an nftables rule, and 0 iptables rules after switching back.