On 1/4/07, Ben Donohue <[EMAIL PROTECTED]> wrote:
Hi all,
I'm having trouble getting to an internal web server which the outside
world can see.
I have an ADSL modem forwarding port 80 to an IPCOP firewall.
This firewall forwards port 80 to the webserver (Centos 4.4)
From outside the website comes up fine.
From internal I get the webpage of the ADSL modem rather than the website.
Is this because I have to split off internal DNS differently from
external DNS?
Are you trying to access it via the server's NAT'd address, or via the
IP address allocated to the modem?
If you want to access it internally, you need to use the RFC1918
address used by the web server, assuming you're using one. I.E.
instead of accessing it via the live IP address the modem/firewall
translates port 80 to, you need to use the 192.168.x.x {or whatever
RFC1918 range you're using} address.
I'd also look at the modem allowing access to its web interface via
the outside IP address if I were you - that's asking to be hacked.
DaZZa
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html