Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

GUI not updating number of group members for Firewall Group

$
0
0

Hi All, 

 

I have a script that I created that populates a firewall group to "whitelist" IPs for statuscake. The script works, and it's properly populating the group (an address-group), but the GUI is showing 0 as the number of group members. 

 

The script is very simple: 

 

#!/bin/bash

WHITELIST=$(curl -s https://www.statuscake.com/API/Locations/txt)
sudo ipset flush statuscake
for IP in $WHITELIST
do
	sudo ipset -q -! add statuscake "$IP"
done

But no matter what I try, the number of group members never updates. But a "sudo ipset list statuscake" shows all the IPs. 

 

Thoughts? Or is there something I'm missing?

 

BTW, this is on an ER-X-SFP, running 1.9.0. Thanks! 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>