foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
foxfirefey ([personal profile] foxfirefey) wrote in [community profile] linux4all2011-06-03 04:39 pm

Helpful DD-WRT note regarding loopback

So, I just got a router that has DD-WRT installed on it (which is Linux based!). One of the things I have is a DynDNS account that I point to a development server for Dreamwidth. I was having the darndest time getting port 80 to go to this server, but only while ON the network! Apparently this is something called "loopback" and it didn't work out of the box for this version of DD-WRT. There is a fix, though, documented here:
iptables -t nat -I POSTROUTING -o br0 -s 192.168.1.0/24 -d 192.168.1.0/24 -j MASQUERADE

/\ Run within management > run command > save firewall script

Which I'm documenting here for my future use and possible help to others who could run into the same issue.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org