[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 594
  • Last Modified:

Setup Of pix firewall 515e and sonicwall TZ 170

I have this current setup, I found it unsecure, please correct my setup of my Access Rules and configuration.


Access Rules for Pix515e: as follows
-from any------citrix(dmz)---------service (chargen,http,1494,2598,443)
-from any------(exchange)--------service(http,https,imap4,login,pop3,443,6001--6004,smtp)
--from any------(webserver)------service(http,https)
-from any--------(sonical wall_)-------all services(any)

access rules for sonic wall:
-from any------citrix(dmz)---------service (,http,1494,2598,443)
-from any------(exchange)--------service(http,https,imap4,login,pop3,443,,smtp,dns)
there is no rules for webserver because i place it in the internal lan and i connect direclty to the pix to the interanal port of the pix.

please give me the best setup with details and be specific to do it right,
-supply and correct my access rules in box pix and sonicwall
-where to place the webserver (proberly between pix and sonic wall )and what is the access rules for it ,both pix and sonic wall to connect to the internal database and go internet live.
Appendix:

citrix(placed in the internal network) :is presentation server 4.0 i host multiple applications running on the internal network.
exchange(placed in the internal network) :is exchange 2003 connected to 2 domain controller .
webserver(placed in the internal network): hosts a webpage connected to my internal database.








drawing1.jpg
px.jpg
0
i_harfoush
Asked:
i_harfoush
  • 8
  • 6
1 Solution
 
aleghartCommented:
>I have this current setup, I found it unsecure,
How so?

It sounds like you are looking for a complete re-design.

I'm confused why there are two firewalls at all.  The TZ170 can handle everything, including a second WAN connection, since you are placing your public servers on the LAN.

What function does the PIX serve?  Why a DMZ to another router before the LAN?

I'm not a PIX person, so I can answer to any of that.  I do have TZ170.  There is a WAN, LAN, and a DMZ/OPTion port.  You can do what you need with one firewall.

As for a specific configuration with rules...that would be hours of back and forth design and consultation, including remote access to configure and test specific rules.  That's something outside the bounds of a public forum.

A lot will depend on the following:

- how many WAN connections?
- how many public IP addresses?
- how many LAN/VLAN?
- are you using object-based rules? (recommended)

In addition, things to consider are what exact services are necessary to open to the public.  On an Exchange server, you don't need POP, IMAP, SMTP, etc.  HTTP/HTTPS should be sufficient.  Allowing POP enables user to take mail quickly outside your corporate domain.  SMTP allows them to send mail from your domain without the same monitoring/archiving as an Exchange client.

But it all depends on how many services you are trying to provide.

If it were me, I'd draw each server with tags for the services needed for WAN and the services for LAN users.  Tag your internet connections with service type and public IP addresses available.

Then, write down any DNS records that correspond to those IP addresses (you can have more than one).

These will help you map out the firewall configuration.  Routing rules will be important if you have more than one WAN connection.
0
 
i_harfoushAuthor Commented:
Dear Sir,thanks for your fast reply.
-why there is 2 firewalls,?
because i read in a prevouis article that when i need to host webserver connected to database, i have to place the webserver between 2 firewalls and open tcp port sql to database server.
-I didnt understand wat u mean by  object based rules?
-it is a simple configuration.
i have 3 servers  nated to  public Ip's:
citrix,exchange 2003( connected to domain controller), webserver.(all the 3 servers placed in the internal lan)
I have one internal lan =192.169.100.x
Dmz=192.168.111.y
external=83.96.34.z( i buy from my isp 32 real ip's , currently using 3 for my servers, and one for my computer and one for sonic wall)
my isp dns records (but i am not using)=83.96.37.34-83.96.37.35.
Sir just draw for me the Diagram and the Appropriate access rules(ports-services) and where to place the servers?and i will do the rest.
thanks in advance,
any details i will give it to you,
drawing1-1-.JPG
0
 
aleghartCommented:
>-it is a simple configuration

No, it's not really.  Especially when you add an extra firewall in the mix just because you read it in an article.  Honestly, if it was simple, you wouldn't be asking for help.

>just draw for me the Diagram and the Appropriate access rules(ports-services) and where to place the servers?and i will do the rest.

Do you have someone on-site with experience?  I think that giving you advice like this has a great potential to "break" what's not broken already.  If this is a live production environment, that has serious consequences.

You have some design issues to overcome, as well as some building of knowledge.  If you've got the TZ170 and you don't know what objects are...that's a whole other lesson in how the SonicWall Enhanced OS works.

You've got two firewalls with the same LAN interface, one of which has its WAN hooked up to the DMZ of the other.

Like I said...not sure why you have two routers when one would do just fine with a DMZ.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
i_harfoushAuthor Commented:
thanks Sir,
pix 515e:
3 ports
external:83.96.34.x
Dmz:192.168.111.y
inside:192.168.100.z
----------------------------
translation Rules
DMZ--sonicwall 192.168.111.a----outside-->83.96.34.a
Dmz---citrix---192.168.111.b------?outside--->83.96.34.b
DMZ---exchange 192.168.111.c---outside--->83.96.34.c
DMZ---webserver192.168.100.d(skipping sonic wall, i connect it direclty on the internal port of pix)--outside--->83.96.34.e
dmz--->my ip address----------------outside--->83.96.34.f
inside----inside-----dmz---same as original address
inside---inside---outside--same as origianl address.
--------------------------------------------------------------------
access rules:
exchange --permit from dmz to outside any tcp
citrix --permit from dmz to outside any tcp
sonicwall --permit from dmz to outside any tcp-udp icmp-ip
-------------------
-from any------>citrix(dmz)---------service (chargen,http,1494,2598,443)
-from any------>(exchange)dmz--------service(http,https,imap4,login,pop3,443,6001--6004,smtp)
--from any------>(webserver)dmz------service(http,https)
-from any-------->(sonical wall_)dmz-------all services(any)
-deny  any -------->interface outside-----any

-------------------------------------------------------------------------------------------------
sonic wall
interfaces
lan-192.168.100.e
wan--192.168.111.a
optional---not assigned-----------
------------------access rules
from dmz------citrix---------service (,http,1494,2598,443)
-from dmz------(exchange)--------service(http,https,imap4,login,pop3,443,,smtp,dns)
---------------nating---------
for:
citrix(private)--------->citrix public
exchage(private)----->citrix publci


all the clients their defualt gateway is the sonic wall
excpet webserver his defualt gate way is the pix internal port

any questions i am ready to answer







drawing1-1-.JPG
0
 
aleghartCommented:
Why don't you try simplifying the design?  I still don't understand why you are using two firewalls to create a DMZ, when you already have a firewall with DMZ functions built-in (TZ170).


network-firewalls-DMZ.jpg
0
 
i_harfoushAuthor Commented:
sir give me the approperiat rules from dmz to internal
i have already citrix and exchange rules i dont know
can u please write the rules from dmz to internal and from outside to dmz
0
 
aleghartCommented:
You'll need to learn about objects.  If you open ports from zone to zone, you give up control.  For instance:

source > destination - traffic - rule

EXAMPLE 1:

DMZ > LAN - SQL - allow
...this is not very restrictive.  Any object in the DMZ can send traffic to any LAN object over the ports for SQL.

web server > database server - SQL - allow
...this is better, because any other SQL traffic is blocked



EXAMPLE 2:

LAN > DMZ - HTTP,HTTPS,IMAP,POP,SMTP - allow
...this opens the firewall unnecessarily

LAN workstations > SBS server - HTTP, HTTPS - allow
LAN scanner > SBS server - SMTP - allow


Does that make sense?  Have you read about creating objects?  For individual equipment, groups of objects, grouping of services, etc.
0
 
i_harfoushAuthor Commented:
yes yes you mean address objects in networks---for ips or services this is for sure..
the diagram is good but could you please write the full solution
because i get the idea....and what about citrix because it is launcing outlook and many applications
0
 
aleghartCommented:
Does anyone outside the office need access ot the Citrix server?  If so, you could put it on the LAN with NAT to the WAN.  Or, leave it in the DMZ, and create routes/rules so that it can access LAN servers and printers, or other resources.

I can't write up a complete solution for you.  As I said, that's several hours of working blind...which could easily turn into several days of support or configuration.  As the administrator or contractor, that's what you're getting paid for.
0
 
i_harfoushAuthor Commented:
so u advise me to leave to citrix and exchange in lan and keep the webserver in dmz?
0
 
i_harfoushAuthor Commented:
us because the outside people are accessing internal forms
0
 
aleghartCommented:
Why would you put the Exchange server back on the LAN?  I only suggested putting the Citrix server back into the LAN.
0
 
i_harfoushAuthor Commented:
Dear Sir,
I did what you suggest to me, for exchange access rule from external to Dmz (, http ,https ) is enough, what about smtp and pop?
thanks for your patience and ur cooporation i realy appreciate
0
 
i_harfoushAuthor Commented:
still I need the access rules for exchange
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now