cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
310
Views
0
Helpful
4
Replies

Redirect question

dan_track
Level 1
Level 1

Hi

I'm looking to have traffic sent to particular port (port 25) to be redirected to another ip and port.

so if the tartget is:

port: 25

I'd like it redirected to:

ip: 10.4.6.8

port 25

My question is how can I do this in pix, I'm currently run version 6.2.

Thanks in advance

Dan

4 Replies 4

jmia
Level 7
Level 7

Dan,

Do you mean that you would like any mail hitting your outside interface on port 25 to be redirected to an internal mail server?

If yes, then you'll need a access-list for the outside interface and a static translation, for example;

access-list smtp permit tcp any host eq 25

access-group smtp in interface outside

static (inside,outside) tcp 25 10.2.6.8 25 netmask 255.255.255.255 0 0

save with, write mem and also issue clear xlate

Hope the above helps,, and please rate post if it does.

Hi,

Thanks for your info. sorry for not clarifying. What I wanted to do was to have anyone on our inside network making an SMTP connection to be redirected to an internal ip and port 25.

Hope this clarifies things.

Thanks

Dan

petera
Level 1
Level 1

did you ever figure this out? I am trying to do the same thing.

Can you clarify what interfaces they are? inside, dmz, ?

Satya

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card