LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   running apache on a firewall system (https://www.linuxquestions.org/questions/linux-newbie-8/running-apache-on-a-firewall-system-865996/)

tinkerbell_10 03-02-2011 11:12 AM

running apache on a firewall system
 
if you are running Apache on a firewall system, perhaps to display a web front end for firewall configuration, how would you make sure that it is accessible only from inside the local network?

fordeck 03-02-2011 11:21 AM

I believe you can set the interface that apache listens on in httpd.conf file. For example:

Code:

# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
Listen 192.168.1.100:80

In the above example it would set apache to listen on 192.168.1.100 port 80. This makes the assumption that 192.168.1.100 is your inside interface.

Regards,

Fordeck


All times are GMT -5. The time now is 04:48 PM.