LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2011, 12:12 PM   #1
tinkerbell_10
LQ Newbie
 
Registered: Mar 2011
Posts: 1

Rep: Reputation: 0
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?
 
Old 03-02-2011, 12:21 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access my System HDD with cfdisk, during System is running from this disk an0r0c Debian 7 03-21-2009 06:46 AM
what firewall is running? konddor Linux - Newbie 2 08-17-2008 12:46 PM
User for running firewall. ??? hottdogg Linux - Security 1 05-25-2006 03:23 AM
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 10:51 AM
Apache running under DHCP system and no DNS? Xris718 Linux - General 8 10-09-2004 06:25 PM


All times are GMT -5. The time now is 10:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration