Solved

Static NAT PIX

Posted on 2006-06-08
5
589 Views
Last Modified: 2010-04-09
I need to do a static NAT for public ip to a private ip on my network.  The firewall wan is 56.1.1.1 and i have an additional 56.1.1.2.  Private ip = 192.168.1.1.

I need to do PAT for the outside interface so that certain port request on 56.1.1.1 are PATed back to different devices on the inside and also have 56.1.1.2 translate to 192.168.1.1 on a one to one basis.

Can someone provided a sample including access-list please?
0
Comment
Question by:andreacadia
[X]
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
  • 2
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
stressedout2004 earned 500 total points
ID: 16866974

1) For  PAT, you need the following:

global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0

These two commands will allow any host on the internal network that doesn't have a static one is to one natting to use the firewall's WAN IP if they need to go to anywhere outside the network. By default, all outbound traffic is allowed so you don't need to add access-list to allow traffic originating from the inside network back in.

2) For the static one is to one, you need:

static (inside, outside) 56.1.1.2 192.168.1.1 netmask 255.255.255.255
access-list acl_out permit tcp any host 56.1.1.2 eq 25
access-list acl_out permit udp any host 56.1.1.2 eq domain
access-list acl_out permit tcp any host 56.1.1.2 eq www
access-group acl_out in interface outside

The 1st command above statically assigns 56.1.1.2 to 192.168.1.1. The next three are access-rules that allows users from the internet to connect to 56.1.1.2 on port 25, 53 and 80. You will need to modify the rule to suit your needs, the syntax would be the same. The last command applies the access-rule acl_out to the outside interface. You need to apply the access-rules on an interface for it to take effect on this case.
0
 

Author Comment

by:andreacadia
ID: 16867015
how about if i just did this:

access-list acl_out permit ip any host 65.113.90.25

??
0
 
LVL 9

Expert Comment

by:stressedout2004
ID: 16867107
That's fine, however it is not recommended. By doing that, you are opening all ports to the internet on that host.
0
 

Author Comment

by:andreacadia
ID: 16867171
now does this necessarily mean that all traffic will exit sourced as the natted public ip in this case?
0
 
LVL 79

Expert Comment

by:lrmoore
ID: 16869686
If you have a static 1-1 nat then yes, that host will exit sourced as the natted public.
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

I recently updated from an old PIX platform to the new ASA platform.  While upgrading, I was tremendously confused about how the VPN and AnyConnect licensing works.  It turns out that the ASA has 3 different VPN licensing schemes. "site-to-site" …
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
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…

734 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