configuring pix 515e for symantec spam appliance

Posted on 2006-10-24
Medium Priority
Last Modified: 2013-11-16
i have a cisco pix 515e that sits in front of a symantec spam 8240 appliance. we need to nat the ip address of the box to a public ip 67.a.b.c which is done - no problem. what we need to do next is nat the virtual interface that is used for sending mail out to the same public ip. the virtual ip address cant accept mail from the outside.
i am looking for advice configuring this on the firewall.
thanks in advance.
Question by:jmcrae72
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
LVL 79

Expert Comment

ID: 17799908
OK. Use a static port xlate for inbound email and conditional nat defined with acl for outbound NAT

static (inside,outside) tcp 67.a.b.c smtp 8240PrivateIP smtp netmask
global (outside) 10 67.a.b.c
nat (inside) 10 access-list SPAM
access-list SPAM permit ip host <virtual IP> any

Author Comment

ID: 17800373
static (inside,outside) tcp 67.a.b.c smtp smtp netmask ====> will provide static nat for public to private port 25.

global (outside) 10 67.a.b.c ===> creates a pool of mapped address for nat.

nat (inside) 10 access-list SPAM ===> enables natting on the inside interface for those who meet acl requirments.

access-list SPAM permit ip host any ====> allows virtual ip to be natted.

am i understanding this correctly? i do have other nat commands in place - how will this effect them?
i guess that it will not - do you agree?



Author Comment

ID: 17813371
lrmoore - i havent tried your suggestion yet but i will here in a few - but i did try this. i dont have a dmz yet.

static (inside,outside) 67.a.b.16 netmask

access-list 100 permit tcp any host 67.a.b.16 eq pop3 ===> on outside int scanning incoming traffic
access-list 100 permit tcp any host 67.a.b.16 eq smtp
access-list 100 permit tcp any host 67.a.b.16 eq www
access-list 100 permit tcp any host 67.a.b.16 eq 995

static (inside,outside) tcp 67.a.b.16 25 25 netmask  ==> port forwarding attempt but i get this error "ERROR: duplicate of existing static"

i'll post the results of you suggestion today.

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 79

Accepted Solution

lrmoore earned 2000 total points
ID: 17813410
>static (inside,outside) 67.a.b.16 netmask
>static (inside,outside) tcp 67.a.b.16 25 25 netmask

>error "ERROR: duplicate of existing static"
Correct. You can't do both. That's why you have to do conditional nat with a global and nat w/access-list

Author Comment

ID: 17814368
lrmoore - looks like it is working. we are sending mail from the correct address. we are doing more test and will confirm later. below i attached your config entry into the PIX.

PIX# conf t
PIX(config)# global (outside) 10 67.a.b.c
Global 67.a.b.c will be Port Address Translated
PIX(config)# nat (inside) 10 access-list SPAM
ERROR: access-list <SPAM> does not exist
ERROR: fail to insert nat entry
PIX(config)# access-list SPAM permit ip host any
PIX(config)# nat (inside) 10 access-list SPAM

LVL 79

Expert Comment

ID: 17814651
Thanks for the update. Keeping fingers crossed!
LVL 79

Expert Comment

ID: 17830864

Author Comment

ID: 17835736

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
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…
Suggested Courses

765 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