Redirect question

Unanswered Question
Sep 6th, 2007


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:


port 25

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

Thanks in advance


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)


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 25 netmask 0 0

save with, write mem and also issue clear xlate

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

dan_track Thu, 09/06/2007 - 04:37


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.




This Discussion