restrict access

Apache web server allows server access based upon various conditions. For example you just want to restrict access to url http://payroll.nixcraft.in/ (mapped to /var/www/sub/payroll directory) from 192.168.1.0/24 network (within intranet). Apache provides access control based on client hostname, IP address, or other characteristics of the client request using mod_access module. Open your httpd.conf file: # […]

{ 8 comments }

Q. How do I stop or restrict access to my OpenSSH (SSHD) server using Linux iptables based firewall? A. Linux iptables firewall can be use to block or restrict access to ssh server. Iptables command is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. However, […]

{ 1 comment }