{"id":1454,"date":"2016-09-30T18:39:26","date_gmt":"2016-10-01T01:39:26","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1454"},"modified":"2016-09-30T18:39:26","modified_gmt":"2016-10-01T01:39:26","slug":"static-natpat-one-to-one-cisco-asa-8-2","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1454","title":{"rendered":"Static NAT\/PAT (one-to-one) Cisco ASA 8.2"},"content":{"rendered":"<p>Outside IP: aaa.bbb.ccc.ddd<br \/>\nInside IP: www.xxx.yyy.zzz<br \/>\nPort: pppp<br \/>\nIdentifier for access-list: NAME<\/p>\n<p>This is a simple one to one NAT example.  Traffic will go from aaa.bbb.ccc.ddd port pppp to www.xxx.yyy.zzz.<\/p>\n<p>c-asa01(config)# static (inside,outside) aaa.bbb.ccc.ddd www.xxx.yyy.zzz<br \/>\nc-asa01(config)# access-list NAME permit tcp any host aaa.bbb.ccc.ddd eq pppp<br \/>\nc-asa01(config)# access-group NAME in interface outside <\/p>\n<p>Or if you want to NAT and PAT:<\/p>\n<p>Outside IP: aaa.bbb.ccc.ddd<br \/>\nInside IP: www.xxx.yyy.zzz<br \/>\nOutside Port: pppp<br \/>\nInside Port: qqqq<br \/>\nIdentifier for access-list: NAME<\/p>\n<p>c-asa01(config)# static (inside,outside) tcp aaa.bbb.ccc.ddd pppp www.xxx.yyy.zzz qqqq<br \/>\nc-asa01(config)# access-list NAME permit tcp any host aaa.bbb.ccc.ddd eq pppp<br \/>\nc-asa01(config)# access-group NAME in interface outside <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Outside IP: aaa.bbb.ccc.ddd Inside IP: www.xxx.yyy.zzz Port: pppp Identifier for access-list: NAME This is a simple one to one NAT example. Traffic will go from aaa.bbb.ccc.ddd port pppp to www.xxx.yyy.zzz. c-asa01(config)# static (inside,outside) aaa.bbb.ccc.ddd www.xxx.yyy.zzz c-asa01(config)# access-list NAME permit tcp any host aaa.bbb.ccc.ddd eq pppp c-asa01(config)# access-group NAME in interface outside Or if you want [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[432,319,433,434],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-asa-5505","tag-cisco","tag-nat","tag-pat"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1454"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions"}],"predecessor-version":[{"id":1455,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions\/1455"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}