Hi, I got a server which is web, mail, firewall, squid and bind dns server. The server is behind a router. The domain internal is the same as on the internet. I created a split dns so: www and webmail are pointed to the external ipadress of my router. The server internal ipadress is 10.0.0.1 and external ipadress is 192.168.0.80 The webserver is listening on 10.0.0.1 I created two rules for the webserver: DNAT net loc:10.0.0.1 tcp 80 DNAT net loc:10.0.0.1 tcp 443 (squirrelmail) Squid is running on port 8080. The internal client have there browsers configured to use the server as proxy on port 80 Evertyhing works fine exept when i want to my own website its not working.>From the internet the website is working fine.This leaves me with two options i think? Configure the webserver to listen on 192.168.0.80? or create a transparant proxy REDIRECT loc 8080 tcp www !10.0.0.1 Or has anyone got a suggestion for me what to do? Regards, Rob .
Rob Mokkink wrote:> Hi, > > > I got a server which is web, mail, firewall, squid and bind dns server. > > The server is behind a router. > > The domain internal is the same as on the internet. > I created a split dns so: > > www and webmail are pointed to the external ipadress of my router. > > The server internal ipadress is 10.0.0.1 and external ipadress is 192.168.0.80 > > The webserver is listening on 10.0.0.1 > > I created two rules for the webserver: > > DNAT net loc:10.0.0.1 tcp 80 > DNAT net loc:10.0.0.1 tcp 443 (squirrelmail) > > Squid is running on port 8080. > > The internal client have there browsers configured to use the server as proxy on port 80 > > Evertyhing works fine exept when i want to my own website its not working. >>From the internet the website is working fine. >a) Use port 8080 as the proxy port (not 80). b) Configure your browsers to bypass the Proxy for local URLs. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net