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.


per0w

17 posts

Geek


#196382 29-May-2016 13:24
Send private message

Hey Guys, 

 

I have just setup a NVR server with Blue Iris and a couple of Hikvision IP cams. All works great. 

 

I have a no-ip.org account as i dont have a static IP address at home. 
I have setup my camera application to connect to e.g. http://sam***.no-ip.org which then connects me to my cameras from outside my local network. Port forwarding has been done etc.. The cameras stream very nicely and without and issues. 

 

When i get home and use this application in my Local network/via wifi. it lags really bad. If i change the connection address to the actual local IP e.g 192.168.1.20, the stream is perfect.

 

I guess when im using the DDNS address, the application goes out to the internet into no-ip.org service, then redirects itself back to my network. But surely that shouldn't cause such bad lag?

 

Is there something i can do locally to redirect that DDNS address to the local PC? or any ideas on how to fix the speed issues? 

 

It will be a pain, to keep chopping and changing from DDNS address to local address when im home or out.

 

thanks,

 

Sam    


Create new topic
richms
29098 posts

Uber Geek
+1 received by user: 10208

Trusted
Lifetime subscriber

  #1561655 29-May-2016 13:28
Send private message

It will be resolving your external IP, which your router then has to do a port foward back to the camera server. This is a crazy thing that routers do which inevitably causes problems like you are seeing as it cannot be done by the hardware based nat engine, but is an actual port forward.

 

Correct solution is to not use the external IP when on the same network. Or get a faster router so it can dedicated more CPU to the forwarding. Its not actually leaving your network, it is just having to be answered by the router, and then a new connection made to the CCTV server, and then the CPU of the router shuffle data between the 2 connections.





Richard rich.ms



sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1561657 29-May-2016 13:34
Send private message

Many routers don't handle hairpin NAT at all well (if at all).

 

One workaround would be to add a DNS entry to your router to point to the local IP, but if your router can't cope with hairpin NAT it possibly doesn't allow custom DNS entries either.

 

 


Dynamic
4015 posts

Uber Geek
+1 received by user: 1851

ID Verified
Trusted
Lifetime subscriber

  #1561663 29-May-2016 13:53
Send private message

Can you set up access to the cameras twice in the App - one with the DDNS and one with the internal/local IP address?  Just choose to view one or the other within the app depending on whether you are at home or out and about.





“Don't believe anything you read on the net. Except this. Well, including this, I suppose.” Douglas Adams




jnimmo
1098 posts

Uber Geek
+1 received by user: 255


  #1561710 29-May-2016 15:01
Send private message

Alternatively - setup a VPN

 

When you're out and about flick on the VPN then open the app and use the internal IPs

 

If you're home, no need for the VPN


Spyware
3818 posts

Uber Geek
+1 received by user: 1366

Lifetime subscriber

  #1561761 29-May-2016 16:10
Send private message

You can spin up a VM running OpenVPN server for free (static IP costs a few dollars) on AWS and therefore always use private IPs OR run your own DNS server locally (R Pi project maybe).





Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.


chevrolux
4962 posts

Uber Geek
+1 received by user: 2638
Inactive user


  #1561764 29-May-2016 16:33
Send private message

A local DNS entry will be the easiest way for a 'seamless' experience.

Personally though, I use a VPN when I'm away from home. Then I can always connect to the private ip address wherever I am.

 
 
 

Shop now on AliExpress (affiliate link).
sbiddle
30853 posts

Uber Geek
+1 received by user: 9996

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #1561813 29-May-2016 17:27
Send private message

From a security perspective having port forward to any device or software behind a NAT firewall is IMHO always something that should be avoided at all costs unless absolutely necessary. A VPN is always the best solution.

 

I assume you've just got port forwards to Blue Iris and not the cameras themselves (which is something you should never ever do), but it opens you up to any security flaws in the software, along with the potential of DDoS style attacks from bots trying to brute force access.


per0w

17 posts

Geek


  #1563968 2-Jun-2016 09:09
Send private message

Thanks for all your help guys. I decided to shell out for the blue iris app for my phone and that is perfect as it has two entries. An address for LAN connections, and then an address for WAN. It automatically changes connection to the local IP when it detects I'm home and connected to my local wifi and WAN address when i leave home. This is 1 of the first applications i have come across that support the double entries. So far its perfect for an NVR! 


shrub
790 posts

Ultimate Geek
+1 received by user: 272

ID Verified

  #1565239 3-Jun-2016 17:11
Send private message

per0w:

 

Thanks for all your help guys. I decided to shell out for the blue iris app for my phone and that is perfect as it has two entries. An address for LAN connections, and then an address for WAN. It automatically changes connection to the local IP when it detects I'm home and connected to my local wifi and WAN address when i leave home. This is 1 of the first applications i have come across that support the double entries. So far its perfect for an NVR! 

 

 

 

 

The APP for blue-iris is awesome i get alerts within 5-15secs no matter where I am. Best NVR for $100. I have a static IP so I did not come across that issue.


Create new topic








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.