LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache, limit interface is can communicate through (https://www.linuxquestions.org/questions/linux-networking-3/apache-limit-interface-is-can-communicate-through-176595/)

Zero-0-Effect 05-01-2004 04:51 AM

apache, limit interface is can communicate through
 
I got apache 2.0.49 setup and running great and I want to make it so that you can access it through the outside but not by lan.
Currently the slackware box running this is also my DHCP server, Web server, and acts as a NAT router to provide internet to other comps in my house.
net-->slackbox-->hub-->othercomps
I want to see how fast the pages are goin to load but dont have access to another comp that has a broadband connection. All my friends are stuck in the stone age of computing and have dial-up.
I tried modifying the listen 80 to listen 68.94.15.65:80 in httpd.conf but still for all my computers on the LAN they just load strait over through the hub and dont at all go through the modem at all.
I didnt see anything else in the conf file that would do this and doin a search for this just gives me thousands of results of people having problems just the opposite of what I want to do... they got lan but no net access.

I tried adding Deny From in .htaccess but that block all my computers on the lan, I want to be able to see the site but go through the box to the net then back in to get to apache server.
Im not even sure if this is possible but I had to ask.

david_ross 05-01-2004 08:27 AM

That won't be possible as the router address is local so there would eb no point in routing traffic any further (out to tne net) in order to get a connection.

To do this you will need to use a proxy or web proxy such as guardster:
http://www.guardster.com

Zero-0-Effect 05-01-2004 09:09 PM

Thanks david! That allowed me to see the speed of the site and redisign it to load a little faster.

Thanks!


All times are GMT -5. The time now is 07:12 PM.