Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DMZ webserver need to access internal SQL server

Status
Not open for further replies.

glory3321

IS-IT--Management
Aug 14, 2001
27
DE
Hello !,

I have PIX 515 one of the DMZ port a web server is connected which has an ip of 201.196.101.137

Inside my internal network there is SQL server.

I need to permit the WEB server to connect to Internal Network SQL server only with TCP/UDP 1433 and TCP/UDP 1434 port only.

I would appreaciate if you can give me a step by step command.

Thanks !


 
Because you are going from a higher security zone to a lower one you must use static routes.

I myself had similar problems when I first started using the PIX with a DMZ network but I managed to get around it using the following commands, I'm not sure it will work for your configuration but it resolved my issue, hope it helps.

Inside SQL Server Address: 192.168.0.1
DMZ Web Server: 201.196.101.137

static (inside,dmz) 192.168.0.1 192.168.0.1 netmask 255.255.255.255 0 0
conduit permit tcp host 192.168.0.1 eq 1433 host 201.196.101.137
conduit permit udp host 192.168.0.1 eq 1433 host 201.196.101.137
conduit permit tcp host 192.168.0.1 eq 1434 host 201.196.101.137
conduit permit udp host 192.168.0.1 eq 1434 host 201.196.101.137

Although I said I had a similar problem it was not SQL I was trying to connect to, so as long as the ports you specified are correct this may help you.

Good luck.

 
Just a ote for your comms from IIS in DMZ to SQL in internal network, the ports you are connecting on, yes you can initiate the comms on 1433, BUT the return is at the dicretion of the SQL server, if you limit it to one port, then will have a timed delay, whilst it randomly searches all ports (normally around 5 sec)
There is a microsoft article for this...

Hope this helps I don't suffer from stress, I'm just a carrier.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top