cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1153
Views
4
Helpful
2
Replies

PIX - SMTP Inbound and Outbound From Different Internal IPs

paramanager
Level 1
Level 1

We want to port-forward SMTP traffic from a public IP to an anti-spam appliance on our private network and also allow our internal Exchange server, on the same private network, to send outbound from the same public IP address.

We use a single public IP for SMTP. The Pix 515e is configured to port-forward SMTP traffic to an anti-spam appliance on our private network.

static (inside,outside) tcp 205.x.x.211 smtp 10.x.x.250 smtp netmask 255.255.255.255 0 0

We have a second public IP, using PAT, to route the rest of the network to the Internet at 205.x.x.216. We added a static route to map SMTP outbound from the Exchage server to the 205.x.x.211 outside address.

static (outside,inside) tcp 10.x.x.7 smtp 205.x.x.211 smtp netmask 255.255.255.255 0 0

the problem is that the SMTP traffic from the Exchange server is appearing on the 205.x.x.216 address instead of the 205.x.x.211 address. Can someone point me in the right direction to resolve this issue?

2 Replies 2

zubairjalal
Level 1
Level 1

A good approach will be to put something like this

nat (inside) 20 10.x.x.7

global (outside) 20 205.x.x.211

--pls rate if useful--

Thanks for the config info. We decided that what we were attempting was too complicated and simplified the arrangement. The Exchange server now uses the spam appliance (10.x.x.250) as a smart host. We used your suggestion and mapped a static NAT between the outside interface (x.x.x.211) and the appliance (10.x.x.250).

static (inside,outside) 205.x.x.211 10.x.x.250 netmask 255.255.255.255 0 0

Then we added a rule to the outside acl to permit only SMTP traffic on the above mapping. It's working very well.

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