Re: contacting webserver from local network
From: Richard (richard_at_risor.net)
Date: 02/29/04
- Next message: Billy O'Connor: "Re: NSA enhancing Linux security?"
- Previous message: Chandler Bing: "contacting webserver from local network"
- In reply to: Chandler Bing: "contacting webserver from local network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
>
>
>
- Next message: Billy O'Connor: "Re: NSA enhancing Linux security?"
- Previous message: Chandler Bing: "contacting webserver from local network"
- In reply to: Chandler Bing: "contacting webserver from local network"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|