Firewall rule : Use IP range for source.

hendr1x

Well-Known Member
Dec 14, 2019
30
0
46
41
Hello everyone, I'd like to allow access to a /24 ip address range. For example : 10.10.10.242-10.10.10.254. I tried all different formats and could not get it to work in the source field of proxmox firewall. Do I really have to enter in all IP addresses individually. That would be to be about 60 ip addresses from two different subnets. I would appreciate any help.
 
Hi!

Adding a rule for an IP range should work through the GUI. The available options for this parameter are documented here. Are you unable to even create the rule? If so, are you seeing any errors?

Are you using nftables tech preview or iptables? If you're using nftables, can you post the output of nft list ruleset? If you're using iptables, please post the output of iptables-save.
 
My
Hello everyone, I'd like to allow access to a /24 ip address range. For example : 10.10.10.242-10.10.10.254. I tried all different formats and could not get it to work in the source field of proxmox firewall. Do I really have to enter in all IP addresses individually. That would be to be about 60 ip addresses from two different subnets. I would appreciate any help.
Maybe because ....242 is not the correct beginning of a subnet.
Have you tried e.g. https://www.calculator.net/ ?