How to give DMZ WiFi WAP access to LAN web server

Posted on 2011-02-25
Last Modified: 2012-05-11
Goal: corporate visitors using WiFi should have full access to the Internet, zero access to the LAN.

I have a SonicWall PRO 2040 Standard and a set of HP ProCurve switches. I have created a VLAN on the switches so that a WiFi WAP connected to a specific port can hit the SonicWall DMZ port but nothing else. The SonicWall has DHCP configured on the DMZ's IP range ( There is a reservation for the WAP's MAC address, and a nice wide range for DHCP leases. DNS is hard coded to the ISP's name servers. The WAP is configured to use DHCP. The LAN's subnet is

Works perfectly. You get a WiFi connection that lets you out to the Internet, but you can't see anything on the LAN. But it works a little TOO perfectly. We have an exchange server on the LAN, and have opened up the necessary firewall ports to allow our employees to use OWA when traveling. There is an external DNS A record for that points to our SonicWall's external IP address (say, The SW has a firewall rule that sends port 80 traffic to the IIS server on our Exchange box. This has worked well for ages.

The problem is this. When an *employee* uses the WiFi connection, the employee can surf the net just like anyone else. But when the employee tries to hit, they get a DNS error: server not found. I need to tell the SonicWall that when it hears a request for, it should send the traffic to our internal web server. Can I do that with a firewall rule, or do I need to define a static route of some kind?
Question by:lwebber
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 33

Accepted Solution

digitap earned 500 total points
ID: 34985983
create a loopback nat policy.  this will tell the sonicwall that when internal hosts hit the WAN interface, they will get redirected to the private IP.  you may need to make sure the exchange server private IP is available from the DMZ via a firewall access rule.

Original Source: Firewalled subnet
Translated Source: WAN Primary IP
Original Destination: WAN Primary IP
Translated Destination: Exchange server private IP
Original Service: 80/443
Translated Service: Original
Enable NAT Policy

this policy is created automatically by the public server wizard.  if you don't have it then you must have created the nat policies and firewall access rules manually.  if so, then make sure the firewall access rule dmz <> lan is allowing access to the exchange server.

Author Comment

ID: 34988708
Unfortunately, I don't have the SonicWall Enhanced OS -- just the standard. Can I do this just with a firewall rule? If I specify a source of DMZ, address range *, with a destination LAN, I would have to specify the exchange server's specific IP address -- otherwise any guest on the WiFi WAP would have access to any device on the LAN (defeating the purpose of the VLAN). But if I specify the Exch server's IP address, then clients in the DMZ would have to know the LAN IP address of the Exch server (e.g. I guess I could teach them that, but it would sure be nice if they could use the same URL no matter where they are ( But the URL is going to translate to the SonicWall's WAN (public) IP address:
LVL 33

Expert Comment

ID: 34988756
either way, you'd still have to create a firewall rule because the loopback is NAT'ing back to the private IP of the exchange server in the same manner that specifying the private IP rather than before we get too far, review this PDF. it discusses loopbacks in standard OS. don't forget to create the firewall rule.
Defend Your Organization from The Greatest Threats

Looking to fill the gaps in your security? Bring together information from the network, endpoint and threat intelligence feeds to really see what's happening in your organization. Join the WatchGuardians in their adventures fighting cyber crime!


Author Comment

ID: 34993573
I'll give this a try tomorrow from the office. I don't think I can test it any other way than to connect to my guest WiFi on the DMZ and try to hit I'll let you know what happens.
LVL 33

Expert Comment

ID: 34993866
that's my fingers crossed, good luck!

Author Comment

ID: 35024071
Thanks for your help, Digitap. I now have a guest WiFi network that does exactly what I want. In fact, today I just added another WAP to the same VLAN. Just modded the ProCurve VLAN setup to UNTAG the port where the new WAP is plugged in, gave it a static IP in the subnet, and it worked instantly. So now I have a WAP on the 4th floor and a WAP on the 5th floor. And some very happy clients.
LVL 33

Expert Comment

ID: 35024178
that's awesome! i'm so glad i was able to help and thanks for the points! what's that saying by the A-Team guy..."I love it when a plan comes together."?

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Port forwarding in Cisco RV215w 2 79
E-mail alerts from Cisco ASA Firepower 3 128
VPN tunnel between Watchguard and OpenVPN? 1 205
Cisco AnyConnect VPN 4 44
I recently had the displeasure of buying a new firewall at one of the buildings I play Sys Admin at. I had to get a better firewall than the cheap one that I had there since I was reconnecting the main office to the satellite office via point-to-poi…
Optimal Xbox 360 connectivity requires "OPEN NAT". If you use Juniper Netscreen or SSG firewall products in a home setting, the following steps will allow you get rid of the dreaded warning screen below and achieve the best online gaming environment…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question