Re: contacting webserver from local network

From: Richard (richard_at_risor.net)
Date: 02/29/04


Date: Sun, 29 Feb 2004 13:31:10 +0100

Hi,

I have sort of the same config and it works fine, do you have an rule
like this?:

iptables -A FORWARD -i <LAN> -p tcp --dport 80 -j ACCEPT
(Must be a forward-chain, destination-ip is behind the forwarding-layer)

I asume you have, else you couldn't browse the web, unless you work with
a proxy.

Another solution is to tell Apache to listen on 0.0.0.0:80, then you can
access it from all interfaces.

Richard.

Chandler Bing wrote:
> Hi,
>
> I'm a bit messing around with iptables, and it going very well. My
> firewallsctipt already has 700 rules. There's only 1 thing that isn't
> working right. On the same pc where the firewall is working, is apache
> listening on port 80. The problem is that i can't access my webserver on my
> external ip adress from my local network. The apache configuration is fine,
> my friends can access it and connecting the webserver from behind an
> external proxyserver is also working well. Are there any rules to make my
> script complete, so i can acces the webserver from the lan on my external
> ip?
>
> byebye,
>
> michael
>
>
>



Relevant Pages

  • Re: My Apache test page wont die!
    ... > But, when I go into htdocs, there's no index.html. ... So I go back to the download, config, ... I get a message that Apache is preserving my ... > back to the download, config, make, make install. ...
    (comp.infosystems.www.servers.unix)
  • Re: opening a client application from a server?
    ... I think it is an Apache problem, but we don't have enough information to ... Acrobat, open a txt file in the browser window, and so on. ... appropriate content-type. ... If it's Apache, fix the Apache config. ...
    (comp.lang.perl.misc)
  • Why is mod_limitipconn-0.23 in Ubuntu 8.04 not working?
    ... The steps I took to install and use limitipconn. ... I build the source code as an Apache DSO: ... Everything is OK till make done, there are no error messages. ... had modified the default config file. ...
    (Ubuntu)
  • Re: Teaching standard init config...
    ... >> matter of a layer of config tools on top of the standard files, ... If I can't teach how to make Apache start at boot, ... >> installing Apache at all. ... > them to figure out how it is done on their particular distro, ...
    (comp.os.linux.setup)
  • Apache Tomcat Slackware
    ... Slackware 10.0 with the default java install. ... as the connection between Tomcat and Apache is easiest ... All I want is the connector between Apache ... Make sure the workers2.properties is in your apache config directory. ...
    (comp.lang.java.help)