• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 405
  • Last Modified:

asa hair pinning


allow me to give you a scenario and you let me know what my options are or if it is even possible.

This is in regards to my simple home network which has an ASA 5505 connected to DSL.

I have 1 public IP from the ISP I have a security camera on my internal network listening on port tcp 9000. I have port forwarding setup so that i can access my camera from outside.  Everything works fine in this manner. Example, the software to access my camera from outside is pointed at
The problem is when I am inside the network, i have to manually repoint the IP to  Would someone offer me a suggestion on how I could access from inside the network so that I dont have to keep flipping my ips?  This is ASA 8.4 code. would appreciate a sample syntax as well.
  • 2
1 Solution
TimotiStDatacenter TechnicianCommented:
The ASA does support hairpin NAT, but it's usually a pain to set it up. Still better than with IOS routers.
Can you post your NAT-related config?

Henk van AchterbergSr. Technical ConsultantCommented:
object service TCP-9000
 service tcp destination eq 9000

nat (inside,inside) source static any interface destination static service TCP-9000 TCP-9000 unidirectional no-proxy-arp

here ya go. The source is changed to the interface IP of the ASA, this way the return traffic also goes via the ASA.

The downside is that in the logs you do not see the IP. To overcome that you can NAT to a POOL the same size as your LAN and then you will see the 1-to-1 NAT IP.
trojan81Author Commented:
wow that worked beautifully! thanks henkva!
I don't have the option for "no-proxy-arp" at the end, but doesn't appear I need it.
Henk van AchterbergSr. Technical ConsultantCommented:
The no proxy arp is from the 9.0 software i think. You should consider upgrading ;-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Choose an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now