Friday, February 12, 2016

networking - Local web traffic using dynamic dns is not routing on my dd-wrt router



My local network is handled using a wireless router flashed with DD-WRT. I have a wireless device on my local network whose web interface I've been exposing to the Internet via port forwarding. I setup a dynamic dns (DynDNS) entry for my local network and had been successfully routing both local and external traffic to the forwarded port via this dns name.



A recent upgrade of the router firmware broke this port forwarding. External networks can still use the dynamic dns name. Local clients using this dns name fail to route the internal device. Local traffic still routes via the local IP.


Answer



I worked around this problem editing the router's /etc/hosts file to include the external dns name for the device. There was no web UI for this so I had to enable SSH use vi the edit the /etc/hosts file.



I realize this is not the best solution but it worked for me.



No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...