cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
686
Views
0
Helpful
3
Replies

8.3 Nat

s.nicholls
Level 1
Level 1

Is it possible to configure the ASA to forward a packet with a destintion port of 80 to a destination port of 8080, without translating the original destination IP address?

3 Replies 3

Jennifer Halim
Cisco Employee
Cisco Employee

Yes it is possible

Here it is for your example:

object network test
   host 1.1.1.1
   nat (inside,outside) static 1.1.1.1 service tcp 80 8080

I tried this and I get back this error message in the logs ASA-5-305013
Asymmetric NAT rules matched for forward and reverse flows; Connection for tcp src Outside:94.14.239.49/11199 dst SF1-Interface:109.74.241.215/80 denied due to NAT reverse path failure

If you inside server is listening on 8080 then the example should be like this.

object network test
   host 1.1.1.1
   nat (inside,outside) static 1.1.1.1 service tcp 8080 80

Follow this link: https://supportforums.cisco.com/docs/DOC-9129

Regarding the syslog that you are seeing you can refer this link: https://supportforums.cisco.com/docs/DOC-12569

Pls. collect the output of the following:

Outside:94.14.239.49/11199 dst SF1-Interface:109.74.241.215/80

  packet-tracer input Outside tcp 94.14.239.49 11199 109.74.241.215 80 det

  packet-tracer input SF1-Interface tcp 109.74.241.215 80 94.14.239.49 11199  det

See the section towards the end where it says dropped and check the reason and the nat line that it is matching.

Post the output if you have questions.

-KS

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