Musarano Posted January 15, 2020 Report Share Posted January 15, 2020 Hi ! Is it anyway i can possible add this other than the dropdown selection options:? 166.128.0.0/9 (block) Currently, V PBX is marking it as NaN or not allowed it. Any change to add like a 255.128..... etc or somehow add this way of it? Thank You Quote Link to comment Share on other sites More sharing options...
Support Posted January 15, 2020 Report Share Posted January 15, 2020 In short, you're referring to Subnet of "/9" option, but unfortunately we don't have that. But you can go ahead and add all the IP addresses in it to be blocked. Quote Link to comment Share on other sites More sharing options...
Dalton Posted January 15, 2020 Report Share Posted January 15, 2020 Ok I will try that then. I really need to allow or whitelist the whole ATT customer dinamic block .. But I understand . Thank you much. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted January 16, 2020 Report Share Posted January 16, 2020 /9 is unfortunate - we have only /8 and /16 which would mean that you would have to add 128 /16 blocks. Alternatively you could white list the /8 block, which would white list more addresses that you would actually need. If you want to do this in JavaScript, here is the code: for (var i = 128; i < 256; i++) fetch("/rest/system/access", {"body":"{\"ip\":\"166." + i + ".0.0\",\"netmask\":\"16\",\"type\":\"true\",\"comment\":\"Whatever\"}","method":"POST"}); Quote Link to comment Share on other sites More sharing options...
Musarano Posted January 16, 2020 Author Report Share Posted January 16, 2020 Ok, i understand... Hopefully this can be added as a feature request then It would be nice to allow or block blocks belonging to an ISP I have set the /8 as you also suggested too. Thank You Very much for your help ! -M Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.