Record over the WAN

jjdiv

n3wb
Joined
Jun 27, 2016
Messages
2
Reaction score
0
Has anyone ever port forwarded cameras and then connected them to a BI server behind another WAN IP? I have attempted this but it isn't very secure. I port forwarded both the onvif port and the rtsp port and I was able to connect even though I entered in the wrong password for the camera (on purpose). Is there a more secure way to do this?
 

nejakejnick

Getting the hang of it
Joined
Aug 30, 2015
Messages
138
Reaction score
24
You have 2 options:
- VPN - you have to setup a VPN server and connect to it, but make sure to configure it to not redirect all internet traffic through it - which is one of its uses, perhaps this should help https://community.openvpn.net/openvpn/wiki/Easy_Windows_Guide
- SSH tunnel - http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work - I use https://www.bitvise.com/winsshd both as server and as client, it is quite good, although I am having some issues with it - command line client does not seem to be reconnecting properly, and forwarded port gets sometimes stucked, so I have to go to my NAS(SSH server) and kill the connection - but that might be an issue of my Synology NAS, it is quite rare so I did not bother solving it. But it has a nice GUI and is very user friendly. BTW use generated key instead of password.
 
Last edited by a moderator:

dalepa

Moderator
Joined
Mar 9, 2014
Messages
843
Reaction score
244
Location
Houston, Texas
I do this for at my bay house. I only have 1mbit uploads, so I use the cam's second sub stream and connect from my home BI server. I can't get PTZ to work remotely, however it works locally fine. Not sure how PTZ communicates.


Not sure why the wrong password worked for you.

I wish BI had a way to connect to BI server to BI server.

Has anyone ever port forwarded cameras and then connected them to a BI server behind another WAN IP? I have attempted this but it isn't very secure. I port forwarded both the onvif port and the rtsp port and I was able to connect even though I entered in the wrong password for the camera (on purpose). Is there a more secure way to do this?
 

jjdiv

n3wb
Joined
Jun 27, 2016
Messages
2
Reaction score
0
I do this for at my bay house. I only have 1mbit uploads, so I use the cam's second sub stream and connect from my home BI server. I can't get PTZ to work remotely, however it works locally fine. Not sure how PTZ communicates.


Not sure why the wrong password worked for you.

I wish BI had a way to connect to BI server to BI server.

What ports/services did you forward Dalepa?
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,294
I wish BI had a way to connect to BI server to BI server.
you can forward a camera stream from one BI server to another. /h264/cam1 where cam1 is the camera name
 

frankred

Getting the hang of it
Joined
May 14, 2015
Messages
302
Reaction score
16
I have been trying to connect a remote camera to BI and having issues. I have used Milestone to connect to remote cameras with some struggle but eventual success. Milestone requires the http port and RTSP port to be forwarded. However, Milestone only has a place to specify the Http port. So that was confusing.

I just wanted to get a confirmation that the above solutions are the only options (VPN, SSH Tunnel). Is this correct?
Thanks!
John
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,294
I have been trying to connect a remote camera to BI and having issues. I have used Milestone to connect to remote cameras with some struggle but eventual success. Milestone requires the http port and RTSP port to be forwarded. However, Milestone only has a place to specify the Http port. So that was confusing.

I just wanted to get a confirmation that the above solutions are the only options (VPN, SSH Tunnel). Is this correct?
Thanks!
John
You can easily port forward a camera to Blue Iris.... It just won't be secure just like your Milestone connection is not secure.... All blue iris needs is the rtsp Stream
 

frankred

Getting the hang of it
Joined
May 14, 2015
Messages
302
Reaction score
16
Hmm. I will give it another try. I have forwarded numerous ports and tried them in BI. I will look up what changes I need to make to the RTSP stream connection string and try that route. (I can't look at BI or cams at the moment)
Thanks!
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,294
Hmm. I will give it another try. I have forwarded numerous ports and tried them in BI. I will look up what changes I need to make to the RTSP stream connection string and try that route. (I can't look at BI or cams at the moment)
Thanks!
if you are streaming direct from a camera, you would set it up EXACTLY the same way you would locally...except the ip address will be the remote address..
 
Top