Jun. 3rd, 2011

foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
[personal profile] foxfirefey
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.

Profile

linux4all: Happy Tux (Default)
Linux4All

September 2019

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
29 30     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags