Difference between revisions of "Restrict Access To GUI"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '== 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 …')
 
Line 11: Line 11:
     Allow from 192.168.0.192
     Allow from 192.168.0.192
     Allow from 192.168.0.69
     Allow from 192.168.0.69
    Allow from 10.0.0.0/24
  </Location>
  </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.

Revision as of 07:01, 25 November 2021

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
</Location>

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