Manual NAT Configuration – Cisco ASA Guide

ciscocisco-asa

I have cisco ASA 5515-x running version 9.2. I want to port forward the request on 80 to 9006 which is of my DVR.

I did this :

object network obj-10.10.26.6
  host 10.10.26.6
object network obj-203.156.213.173
  host 203.156.213.173
object service port-80
  service tcp source eq 80
object service port-9006
  service tcp destination eq 9006

nat (inside,public-IP) source static obj-10.10.26.6 obj-203.156.213.173 service port-80 port-9006

I get this following error when I do port forwarding in the pool IP:

pac in public-IP tcp 8.8.8.8 12345 203.156.213.173 9006

Result:

input-interface: Public-IP
input-status: up
input-line-status: up
output-interface: Public-IP
output-status: up
output-line-status: up
Action: drop

Drop-reason: (nat-no-xlate-to-pat-pool) Connection to PAT address without pre-existing xlate

What am i doing wrong here? Why am i getting this error: "Drop-reason: (nat-no-xlate-to-pat-pool) Connection to PAT address without pre-existing xlate.

Actually, 201.135.201.73 is my Public IP and 203.156.213.173 is my pool IP that ISP has given and it is routable to my public ip.

Best Answer

Try:

no nat (inside,public-IP) source static obj-10.10.26.6 obj-203.156.213.173 service port-80 port-9006

object network obj-10.10.26.6
  host 10.10.26.6
  nat (inside,public-IP) static 203.156.213.173 service tcp port-80 port-9006

(or something similar, I'm doing this from memory).

Or, as I'm guessing that there is another (dynamic) nat statement before your static nat (but I don't have enough reputation yet to ask you in the comments, duh!), re-arrange the order so that the static comes first.