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


Topic # 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
8025 posts

Uber Geek
+1 received by user: 387

Trusted
Subscriber

  Reply # 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


  Reply # 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

8025 posts

Uber Geek
+1 received by user: 387

Trusted
Subscriber

  Reply # 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


  Reply # 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

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07


All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21


Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54


Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15


IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41



Geekzone Live »

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



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.