Existings iptables rules and PVE Firewall

dekkert

Member
Feb 3, 2022
10
1
8
57
Hello,

My Proxmox VE is running on a public server at an internet hosting provider. To set it up, I pre-installed Debian 12 and hardened the firewall. Access to the Proxmox Administration and virtual machines is restricted to connections over WireGuard VPN.

Most of the restrictions are defined using my custom iptables rules.

My questions are:
  1. What happens if I enable the PVE firewall now?
    • a) Will the predefined rules be lost?
    • b) Can I transfer the predefined rules to PVE for centralized management?
  2. Fail2ban is configured to block IPs by adding rules to iptables. How will this interact with the PVE firewall?
Thanks for any help!

Best regards
Andreas