@machuni
Do you use COPS on your Pi with docker?
COPS/NGINX is accessible on port 80 or port 443 with SSL.
For simplicity you can open/portforward port 80 on your router to the internal IP adres of your Pi. Then from the www you can access COPS with http://<LAN-IP>/cops
However this is NOT SAFE. What can you do?
1 - at least restrict access to COPS with a password. The easiest way is to use a setting in config_local.php. For example:
$config['cops_basic_authentication'] = array("username" => "cops", "password" => "cops");
2 - "Security bij obscurity": portforward (for example) external port 12345 to internal port 80. You then can access COPS by http://<WAN-IP>:12345/cops
3 - get a (free) domain name and use let's encrypt to securely access COPS by https//domainname/cops
|