Hi
I was wondering if someone could shed somelight
Currently i have this part of the php which restricts and redirect the mailcow interface to certain IP but what i cant get it working is to restrict the subnet instead of only one ip
if ($_SERVER[‘REMOTE_ADDR’] != “192.168.80.2”){
header(“Location: ./SOGo/”);
exit();
}
which i edited this part of the code
mailcow-dockerized/data/web/index.php
Thank you