Question to Firewall IP Rule

19topgun93

Member
Apr 5, 2021
13
0
6
31
Goood evening,

I have a question about the Firewall in Proxmox. I have the attach file. I want the IPs of this site https://www.countryipblocks.net/acl.php blocked for Internet Security. After a certain size, the IP addresses that I can insert per section become smaller and smaller. Is there another way I can do this? I thought as a CIDR it would be easiest via IPset.

Best regrads
 

Attachments

hi,

if you want to add ipset in bulk you can just edit the files directly:
Code:
find /etc/pve -name '*.fw'

/etc/pve/nodes/YOURNODE/host.fw <- host rules
/etc/pve/firewall/cluster.fw <- clusterwide rules

you should look at [0] when adding the sets in the file

hope this helps

[0]: https://pve.proxmox.com/wiki/Firewall#pve_firewall_ip_sets
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!