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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dmz pinhole help

Status
Not open for further replies.

PhantomTurtle

IS-IT--Management
Apr 23, 2003
5
AU
How does one open up a pinhole from your dmz to internal netwrok using cisco pix? So far I am using outbound and conduit commands? Any help would be greatly appreciated.

thanks
 
Opening a hole from DMZ to inside is no different than from outside to inside. I assume you are having trouble getting something to work. We need more details of your problem, eg what you tried and how it didn't work.
 
Basically what we have is a pix firwall with three nics. one internal, one external, one dmz. We have a public address for each machine behind the firewall ie web servers, mail, anything needing direct access to the net. Basically it is set up like this.

Traffic is routed from a an external address to the internal server address using static routes. Conduit commands are used to allow access to servers from the internet. Outbound commands are used to allow internal machines out to the net. Now the dmz has only one server in it, a web server. I used conduit commands to allow people to access it from the web and outbound commands to allow us to ftp to it internally. Now i just put a server in the dmz that needs to access port 25 on an internal machine from the dmz. So what i need to know how to do is make conduit or outbound commands that will allow this server in the dmz to access a macine on the internal network on port 25. Any ideas? I cant be too specific...being work and all..
 
HI.

You need 2 commands:

static (inside,dmz) b.b.b.b a.a.a.a
conduit permit tcp host b.b.b.b eq 25 host dmzserver

a.a.a.a = the private address of inside mail server.
b.b.b.b = an unused address that belongs to the dmz network.

Another similar option is:
static (inside,dmz) a.a.a.a a.a.a.a
conduit permit tcp host a.a.a.a eq 25 host dmzserver

Instead of allowing direct traffic from dmz to inside, you can pull the mail (connection initiated from the inside instead) using software like "PopBeamer".

Here you'll find more info:
Using nat, global, static, conduit, and access-list Commands and Port Redirection on PIX


Yizhar Hurwitz
 
Thanks for the suggestion it looks good. ill have to wait till monday when i get back to work to try it but Ill let you know.

Thanks
 
doesnt seem to work...

>>static (inside,dmz) b.b.b.b a.a.a.a
>>conduit permit tcp host b.b.b.b eq 25 host dmzserver

The conduit command doesnt seem right b.b.b.b=dmzserver so arent i giving it access to itself?

>>a.a.a.a = the private address of inside mail server.
>>b.b.b.b = an unused address that belongs to the dmz >>network.

>>Another similar option is:
>>static (inside,dmz) a.a.a.a a.a.a.a

Arent I routing it to itself?

>>conduit permit tcp host a.a.a.a eq 25 host dmzserver

I tested it by trying to telnet from the dmz server to the internal server on port 25.
 
HI.

> The conduit command doesnt seem right b.b.b.b=dmzserver
No - please read again:
>>b.b.b.b = an unused address that belongs to the dmz

So if your dmzserver is b.b.b.x, b.b.b.b should be another different unused address.

> would it be easier to convert to acess lists?
It is recommended to convert to access-list, but it will not make the issue discussed here simplier.
Some tips:
* Don't mix conduit and access-list in the same config. Use only 1 method.
* You should note some important differences in the syntax. For example with "conduit" the destination is specified first, unlike access-list with a reverse order.

Did you read the article in the link above?

Bye


Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top