I have a CISCO ASA 5505 in a home office. It has two subnet, public and private. There is a wifi belkin router on the private net, which provides wifi for some users. That belkin router sends out heartbeat notice to a pre-programmed ip address, but the packet is dropped by the ASA. I do not want the packet to go through. I prefer the Belkin be unable to phone home like that, but this belkin cannot disable the heartbeat check.
So, I wonder if I can make the ASA reply back to the the belkin hello instead?
Or maybe you can tell me how to make a forwarding setting with the ASA that can re-direct the heartbeat check to a host on the LAN by mapping the phone home IP address to the local network?
Here is the firewall drop message from the belkin in the ASA.
3 datetime 50.16.219.4 192.168.3.5 Deny inbound icmp src outside:50.16.219.4 dst inside:192.168.3.5 (type 0, code 0)
I'm comfortable with the CISCO ASDM interface, but I managed some config on the command line too.
Another internal DNS server (like this cure) is not really an option at this point.
Thank you for any advice.
Maybe the answer is yes. It is basically a hairpin NAT, attested to in Cisco page about dns doctoring.
I tried to make this work on another firewall in a different office. Below are some configuration that seems to redirect the traffic as I desired. I made these config in the ASDM, but I am only feeling my way through. I hope an expert can help me find flaws or better ideas.
I put extra comments to explain:
That is working when I ping to belkin.com. Example:
In that test, the ping came back from the local server.
Here are config screenshots.
Setting to allow hairpin NAT.
Allows a ping attempt to the outside heartbeat server.
Hairpin NAT Rule redirecting the attempt to the local host.
To test it, I removed the only the hairpin NAT rule, then did ipconfig /flushdns on the windows laptop and tried to ping belkin.com.
Now I have two other questions.
First, with the hairpin removed, the ping headed for belkin, and was blocked. This is good, but it surprises me. Why is it blocked, though I made the rule to allow earlier and did not change that access rule at this point?
Second, why did this question get a downgrade?