Virtualmin sysinfo.cgi not displaying when using iptables

Operating system: Centos 7
OS version: CentOS Linux 7.9.2009
Virtualmin version: 6.15

So I’ve configured iptables to only accept traffic on port 80 and 443 back and forth between Cloudflare and also Virtualmin on port 10000 but for some reason the monitoring page isn’t loading, just constantly hangs. Even through a direct connect https://IP:10000/sysinfo.cgi I looked around to see if it used another port or was communicating through UDP but couldn’t find anything related to my issue, if anyone knows a fix let me know. Thanks.