Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




3 posts

Wannabe Geek


#89022 25-Aug-2011 10:19
Send private message

Hello...

I have a TP-Link TL-WR941nd V2..

I write my own HTML scripts although not educated in this, needless to say I have programmed in other languages, so I have been able to muddle my way through..

I have Cable internet and my IP changes very seldom, but I do have a domain name, which I pay for on DYNDNS.com..
I create my own scripts for the cameras around my home, so I may view them locally or via Internet..

All the scripts I've written, connect to my domain name ????.homeip.net, to get the camera streams. I also use VNC to access computers via Internet...

I recently discovered DD-WRT and found that my router could be changed to this firmware..

Wow, I have been in and around computers since 1982 having started with building my own Apple ][+ clone.. I thought I understood a fair amount about the Internet and networks, having installed and setup medium sized companies... But some of the settings in DD-WRT are well above what I do understand...

My problem is: before DD-WRT all my accessing of ????.homeip.net in scripts or in a browser were no problems from LAN or WAN, since installing DD-WRT my scripts using ????.homeip.net no longer work from the LAN, only the WAN, if I edit or access the LAN IP's directly everything works fine... I really don't want to duplicate everything, 1 for LAN and 1 for WAN...

If I watch while accessing ????.homeip.net, I can sometimes see my WAN IP clearly and yet the page nevers comes up. I assume this is some kind of a DNS problem, But I do not know how to fix it.

Is there a setting in DD-WRT, DYNDNS.com or just some damn thing I can do to make this work again ??
I feel so stupid, because I don't even know what to call this problem.

My house has 5 adults, of which 3 are our children that just won't move out:)), so we have 12 computers (mix PC and MAC) and wifi cell phones and ipods, etc, so just editing the HOSTS file in Windows is not an option..

If I have left out any pertinent information, please let me know.

I hope you can help, Thank you, clipbrd

Create new topic
8035 posts

Uber Geek

Trusted

  #511681 25-Aug-2011 10:41
Send private message

So you have a dynamic domain name that points to your WAN ip address, presumably you have forwarded a port or some ports in the router to a web server/camera address so this works for accessing your camera stuff from outside your network.

The feature you are looking for is normally called "local loop back" or "NAT loop back", it may have been enabled by default the stock firmware and is probably disabled by default in DD-WRT.

This feature basically allows traffic from the LAN to go the WAN then back in to the LAN.


If you can't find that option anywhere another option is using static dns entry in DD-WRT or hosts file entry in Mac OS and Windows, this would point: ????.homeip.net to the LAN ip of the web servers/camera server.



3 posts

Wannabe Geek


  #511725 25-Aug-2011 11:29
Send private message

Ragnor: So you have a dynamic domain name that points to your WAN ip address, presumably you have forwarded a port or some ports in the router to a web server/camera address so this works for accessing your camera stuff from outside your network.

The feature you are looking for is normally called "local loop back" or "NAT loop back", it may have been enabled by default the stock firmware and is probably disabled by default in DD-WRT.

This feature basically allows traffic from the LAN to go the WAN then back in to the LAN.


If you can't find that option anywhere another option is using static dns entry in DD-WRT or hosts file entry in Mac OS and Windows, this would point: ????.homeip.net to the LAN ip of the web servers/camera server.



Hi,, thanks for responding...

Unable to find anything in DD-WRT to do with loop back...

under Basic Setup "Network Address Server Settings (DHCP)"
There are 3 static DNS, to which the 1st and 2nd are DNS servers I have used for years, 4.2.2.1 & 4.2.2.2..

I have attempted to create a DNSMasq, which doesn't appear to allow for port numbers, so I was able to acheive a connection to one of many computers, at least I was unable to find a configuration showing port numbers..

Same with changing the HOSTS file,, I see no ability to include port numbers,, so again I am able to get to one computer of many..

clipbrd

 
 
 
 


8035 posts

Uber Geek

Trusted

  #511748 25-Aug-2011 11:57
Send private message

clipbrd:

Unable to find anything in DD-WRT to do with loop back...



In DD-WRT I think it's this setting:

Security -> Firewall > Filter WAN NAT Redirection

- Uncheck this ^




3 posts

Wannabe Geek


  #511807 25-Aug-2011 13:04
Send private message

Ragnor:
clipbrd:

Unable to find anything in DD-WRT to do with loop back...



In DD-WRT I think it's this setting:

Security -> Firewall > Filter WAN NAT Redirection

- Uncheck this ^



Hi..

Thank you, that already was unchecked...

Found this command:
iptables -t nat -I POSTROUTING -o br0 -s 192.168.1.0/24 -d 192.168.1.0/24 -j MASQUERADE

I edited it to the LAN IPs I'm using

Admin
Commands
iptables -t nat -I POSTROUTING -o br0 -s 192.168.0.0/24 -d 192.168.0.0/24 -j MASQUERADE
Run Commands

Appears to work, but doesn't seem to remain, after router reboot, have to add command again, tried save firewall, save startup and save script

ttyl, clipbrd

Create new topic




News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.