Difference between revisions of "Restrict Access To GUI"

From Kolmisoft Wiki
Jump to navigationJump to search
m (Admin moved page Restrtict Access To GUI to Restrict Access To GUI without leaving a redirect)
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
     Allow from 192.168.0.69
     Allow from 192.168.0.69
     Allow from 10.0.0.0/24
     Allow from 10.0.0.0/24
    Allow from 127.0.0.1
  </Location>
  </Location>
<Location /.well-known>
    Order deny,allow
    Allow from all
</Location>


Access to GUI will be forbidden for all hosts except 192.168.0.192 and 192.168.0.69.
Access to GUI will be forbidden for all hosts except 192.168.0.192 and 192.168.0.69.


'''IMPORTANT:''' '''ALL''' system IPs must be inserted to be allowed in this file.
'''IMPORTANT:''' '''ALL''' system IPs must be inserted to be allowed in this file.

Latest revision as of 14:56, 16 January 2024

Restrict access to GUI using Apache configuration

Edit file:

/etc/httpd/conf/httpd.conf

Add these lines to the bottom of the file:

 <Location />
   Order deny,allow
   Deny from all
   Allow from 192.168.0.192
   Allow from 192.168.0.69
   Allow from 10.0.0.0/24
   Allow from 127.0.0.1
</Location>

<Location /.well-known>
   Order deny,allow
   Allow from all
</Location>


Access to GUI will be forbidden for all hosts except 192.168.0.192 and 192.168.0.69.

IMPORTANT: ALL system IPs must be inserted to be allowed in this file.