Solved

SMPT through PIX 501

Posted on 2003-11-20
11
597 Views
Last Modified: 2010-04-09
hi

I would like to know how i can get a PIX 501 to enable my exchange 2000 server to receive SMTP traffic.

i need a static route & an access list but do not know the best way to do it, the 501 has no DMZ facility and therfore i am even more unsure? can anyone show me how i can set this up.

firewall outside 81.X.X.X
firewall inside   192.168.0.X

exchange 192.168.0.X

regards

brad
0
Comment
Question by:linuxunil
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9788981
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9789023
0
 

Author Comment

by:linuxunil
ID: 9789221
Hello shivsa


thank you for the links but unfortunately doesnt explain in laymens terms how * what i need to do! i thought it should go somehow like this:

static (inside,outside) tcp interface smtp 192.168.0.27 smtp netmask 255.255.255.255 25 0 0

access-list acl_outside_in permit tcp any host 81.X.X.X

access group . . . . . .  .

no fixup protocol smtp 25


What i need is a list how to get the traffice through a 501 to a single exchange server!

brad
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 13

Accepted Solution

by:
td_miles earned 200 total points
ID: 9792149
that's pretty much all you'll need:

static (inside,outside) tcp interface smtp 192.168.0.27 smtp netmask 255.255.255.255 25 0 0
access-list acl_outside_in permit tcp any host 81.X.X.X eq smtp
access group acl_outside_in in interface outside
no fixup protocol smtp 25

The only thing you didn't have was applying the access group inbound on the outside interface.
0
 

Author Comment

by:linuxunil
ID: 9795627
hi td_miles

Thats what I thought but wasnt sure that it was correct, that now gives me peace of mind that I can go ahead and configure a live network! I will try the above and get back to you with the respone.


brad.

0
 
LVL 8

Expert Comment

by:Salah Eddine ELMRABET
ID: 9796361
Hi brad
I hope that i can give you more help
so for enabling smtp trafic to pass trought the pix you need to do an static traslation and an access-list that permit smtp traffic port 25
so

you must to do some lines as

static (inside,outside) 81.X.X.X 192.168.6.27 netmask 255.255.255.255 0 0
access-list OUTSIDE permit tcp any host 81.x.x.x eq smtp
access-group OUTSIDE in interface outside

hope you luck
0
 

Author Comment

by:linuxunil
ID: 9797304
td_miles


ze points are all yours !

thank you for the reassurance.

brad
0
 

Author Comment

by:linuxunil
ID: 9797630
selmrabet

I am guessing that you static entry:

static (inside,outside) 81.X.X.X 192.168.6.27 netmask 255.255.255.255 0 0

is the same as:

static (inside,outside) tcp interface smtp 192.168.0.27 smtp netmask 255.255.255.255 25 0 0

because I assume that the PIX already knows that 81.X.X.X is the TCP interface?

well it works nevertheless, so I will go ahead and award the points to td_miles! If there is a reason for creating the static translation how you have suggested then please post as I would like to know the difference between the two as I am a newb as far as firewalls are concerned.

brad
0
 
LVL 13

Expert Comment

by:td_miles
ID: 9807365
To answer the question in your last comment, the difference between the two is the IP address that it uses for the outside IP.

In the first example, it uses a specific IP address (in this case 81.X.X.X), in the second example, it uses whatever the IP address of the outside interface is. You might use the first command when your ISP allocates you more than one IP address and the IP address you wish to use for this NAT is not the same as the IP address of the interface. A good reason for using the "interface" keyword, is if the outside interface has a dynamic IP address (eg. it is connected to ADSL) then you won't know the IP address to put in, so you use interface instead.
0
 

Author Comment

by:linuxunil
ID: 9809251
Hi td_miles


I see i see i see, well thats all clever stuff and would like to thank selmrabet for the post in conjunction with my question, I would also like to clarify your comment td_miles about;

"You might use the first command when your ISP allocates you more than one IP address and the IP address you wish to use for this NAT is not the same as the IP address of the interface"

So lets say's BT provided me with an address range of 100.100.100.1-7 and my gateway was 100.100.100.2 and my PIX e01 was 100.100.100.3, I could use the address 100.100.100.5 (lets say) as the NAT address for my Exchange box? Sill giving me SMTP connectivity through the firewall and vica versa?

brad
0
 
LVL 13

Expert Comment

by:td_miles
ID: 9814950
there's no reason why you couldn't do that, you just need to setup the NAT and the ACL to make it work.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article will cover setting up redundant ISPs for outbound connectivity on an ASA 5510 (although the same should work on the 5520s and up as well).  It’s important to note that this covers outbound connectivity only.  The ASA does not have built…
This past year has been one of great growth and performance for OnPage. We have added many features and integrations to the product, making 2016 an awesome year. We see these steps forward as the basis for future growth.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

810 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