Solved

1st DMZ - Setup

Posted on 2004-10-07
6
502 Views
Last Modified: 2010-04-09
Hi,

We've recently purchased a new firewall (Sonicwall) and I'm looking at setting up a DMZ for the 1st time.  

Now if I put a couple of servers into the DMZ,  I need the servers to be able to talk to our main database (non SQL) back on the protected LAN.  What are my configuration considerations on the firewall ?  The part I'm unsure on is what ports would I need to open from the LAN to DMZ and DMZ to LAN, so these servers can talk to the protected network ?

Thanks again
Steve

0
Comment
Question by:stevendunne
  • 3
  • 2
6 Comments
 

Expert Comment

by:rolltide_bama
ID: 12249299
not sure on how the sonic treats access going from more secure to less secure but on a pix access to lower security is allowed ususally through a global statement and a nat command.  you will need an access-list and specify the sql ports. Microsoft sql ports 1433 and 1434, Oracle is 1521. Well l hope this gets you in the right direction.
0
 

Expert Comment

by:gary_b
ID: 12250911
Hi Steve,
I am in the middle of a similair task so here my 10 pence worth...if it helps.
Firstly what SW are you using & what SW OS. I use a TZ170 enhanced OS as follows:

By default, the SonicWALL allows all traffic from the WAN to access the DMZ, but prevents WAN traffic from accessing the protected LAN segment. All LAN traffic can pass outward to the DMZ or the WAN, but only traffic originating in the DMZ or traffic that is part of a session that a LAN user initiated can enter the LAN. You could however create a policy/rule to allow traffic from the DMZ through your chosen port (SQL 1433 and 1434) to an address group inside the LAN segment (ie SQL server etc), which should I believe solve your problem.

Hope this helps
G
0
 

Author Comment

by:stevendunne
ID: 12257566
Hi Gary,

Thanks for the Info.  We are using the same FW, but the StandardOS.

I was thinking of creating the following rules:

1) LAN > DMZ - Any - Allow    

Although I'm told this should be restricted to the ports you only need to use.  Is this true ?

2) WAN > DMZ - Any - Deny

3) WAN > DMZ - 80, 443, 21 - Allow

4) DMZ > LAN - 1433, 1434 - Allow


What about ports 135, 139, 445, do these need to be open to enable communication between the LAN & DMZ ?

Thanks
Steve

0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Expert Comment

by:gary_b
ID: 12257690
Hi Steve,

>>1) LAN > DMZ - Any - Allow  
Spot on!

>>Although I'm told this should be restricted to the ports you only need to use.  Is this true ?
You could I guess open only ports 80, 443, 21 + DB port, but I trust the LAN > DMZ link in my scenario so have LAN > DMZ - Any - Allow.

2) WAN > DMZ - Any - Deny
3) WAN > DMZ - 80, 443, 21 - Allow
Spot on! If you know where your visitors are coming from you could lock it down even futher:

4) DMZ > LAN - 1433, 1434 - Allow
I have no rules to allow/block traffic...
(I think thats an Enhanced OS feature, so you better use your rules above in standardOS)

>>What about ports 135, 139, 445, do these need to be open to enable communication between >>the LAN & DMZ ?
As in step 1 above LAN > DMZ - Any - Allow
or in your case LAN > DMZ - 80, 443, 21 + DB port - Allow
This one depends on how well you trust your LAN..

Hope this is of some help but please ask againif not....
G

0
 

Author Comment

by:stevendunne
ID: 12257771
1) How do you mean "Trust" your LAN ?

2) LAN > DMZ - 80, 443, 21 + Database port - Allow

Where does this leave ports 135, 139 & 445 for communication ?  Or are these not essential ?

3) DMZ > LAN - 1433, 1434 - Allow

If I don't setup the above rule, how will the server in the DMZ communicate with the LAN when traffic originates (starts off) in the DMZ ?

Thanks again

0
 

Accepted Solution

by:
gary_b earned 375 total points
ID: 12258185
Hi Steve,

>>1) How do you mean "Trust" your LAN ?
Nothing special, just saying that I allow all traffic between LAN > DMZ becuase I know where the traffic is originating, as opposed to the WAN which I do not trust, because I do not know where traffic is originating....

>>2) LAN > DMZ - 80, 443, 21 + Database port - Allow
>>Where does this leave ports 135, 139 & 445 for communication ?  Or are these not essential ?
Again if you LAN > DMZ - All - Allow, you should not encounter any problems here.

>>3) DMZ > LAN - 1433, 1434 - Allow
>>If I don't setup the above rule, how will the server in the DMZ communicate with the LAN when >>traffic originates (starts off) in the DMZ ?
I admit to not knowing how your SQL/IIS operates but surely all traffic originates in the LAN via broswer requests? If not then I believe you will indeed need to open the ports as you rightly stated.

Cheers
G
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are like regular user of computer nowadays, a good bet that your home computer is on right now, all exposed to world of Internet to be exploited by somebody you do not know and you never will. Internet security issues has been getting worse d…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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 …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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