News: This forum is now permanently frozen.
Pages: [1]
Topic: problem nat 80  (Read 6945 times)
« on: February 23, 2010, 18:12:57 »
cat84 *
Posts: 2

Hello
i have my website on port 80 in lan, and wan
when i do nat wan:80>ip_lan:80
it's works by domain in wan, but in my lan i have the monowall webconfig, when i start browse my website by domain
please help
« Reply #1 on: February 23, 2010, 18:35:59 »
Fred Grayson *****
Posts: 994

From the Firewall: NAT: Inbound screen:

"Note:
It is not possible to access NATed services using the WAN IP address from within LAN (or an optional network)."

It is also not possible to access NATed services using a hostname that resolves to the WAN IP address from within LAN (or an optional network).

--
Google is your friend and Bob's your uncle.
« Reply #2 on: February 23, 2010, 18:47:52 »
cat84 *
Posts: 2

then what i shall do??

there is option to make alias that means www.domain.com is 10.0.0.3:80 from lan
« Reply #3 on: February 26, 2010, 15:22:58 »
Fred Grayson *****
Posts: 994

then what i shall do??

there is option to make alias that means www.domain.com is 10.0.0.3:80 from lan

Easiest way is to put

10.0.0.3 www.domain.com

in your PCs hosts file.

Or you can enable DNS forwarder in m0n0wall and add the overide record there. In order for this to work, your PCs must use m0n0wall as the DNS forwarder.

--
Google is your friend and Bob's your uncle.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines