Maybe I missed it but can somone post how to setup stunnel with blue iris? Maybe a small tutorial? Or lead me to the posts if it's been discussed.
Thanks
Thanks
Welcome to the forum..the help file has instructions..looks straight forward.. albeit a little vague..im going to test this soon and report back.Maybe I missed it but can somone post how to setup stunnel with blue iris? Maybe a small tutorial? Or lead me to the posts if it's been discussed.
Thanks
I got it working. I am not a networking professional, so if you follow these instructions and end up with your camera feed playing on a billboard in times square, it's your own fault.
Some basics about Stunnel, as I know it: Let's say you previously would have used the ip address of 192.168.0.2:8290 to access the blue iris server internally. With stunnel, you use the ip address of 192.168.0.2:8291, then have stunnel redirect that traffic to 8290. During the redirect process, Stunnel makes the connection secure. This is a lot more simple than it at first seems.
1. Download stunnel. Use this site https://www.stunnel.org/downloads.html and download the .exe file, if you're using Windows. If you're not using windows, don't follow these instructions.
2. Install stunnel. Keep all the defaults.
3. In your start menu, go to Stunnel>stunnel GUI Start.
4. Click Configuration at the top, then Edit Configuration.
5. Scroll to the bottom. Below "Example SSL client mode services" delete all of the lines that don't start with ;. You don't need these.
6. Insert this text where you just deleted the other code:
[blue-iris]
accept = 8344 *or whatever port you want to have your computer accept TCP
connect = 8347 *or whatever port you specified on the Blue Iris Webserver page at the top
7. Save the file, close it, then go to Configuration back on the GUI and select Reload Configuration. Close the GUI.
8. Start menu > stunnel Service Install
9. Start menu > stunnel Service Start
10. The address you will use to access Blue Iris will now be your IP address followed by :8344, or whatever port you used. On the blue iris app, you will also need to edit the server settings and select Server is HTTPS, or it won't work.
11. You also need to make sure that your router is properly forwarding requests to your computer. So when you type in your external IP followed by :8344, your router knows to forward that traffic to 192.168.0.2:443. Those numbers don't have to be the same. You could have your router accept on port 8342 and forward to port 8344 on your computer, then have stunnel forward traffic from 8344 to 8347 by using accept = 8344 and connect = 8347, then have the blueiris webserver be located at 8347. Using a random port rather than 443 or 80 or 81 is better, or so I've read. If you do this, you will have to use port 8344 for internal connections (over the same wifi) and port 8342 for external connections (from work or over cellular).
12. If you're getting errors, make sure that you've installed the service and then started it. Also make sure your blue iris app is set to use https, and you're using the proper port. The port on the app needs to be looking for the port on the router that will forward to the port on the computer, which will then forward to the port of blue iris. If you put in the port of the blue iris web server, you're going to have a bad time.
Hi Bradconverse,
Thanks for the write-up, mind if I ask a few questions for clarification? I followed your steps and i installed stunnel, but I didn't get it to work so I was hoping you might be able to tell me where I messed up. During the installation, it asked me a bunch of information on my location and the like, which I provided. I believe that is for the cert? Then I ran the GUI and modified the configuration file as you suggested and this is where I have the questions.
I have my port set at 8888 for the BI Web server. I set the options for the Blue Iris config as follows:
[blue-iris]
accept=8889
connect=8888
Is that how it should be configured? Stunnel is installed on the BI server. Right now I get this message when I try to connect:
2015.01.15 14:26:35 LOG5[2108]: Service [blue-iris] accepted connection from 192.168.1.6:60748
2015.01.15 14:26:35 LOG3[2108]: SSL_accept: 1407609C: error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request
2015.01.15 14:26:35 LOG5[2108]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
I appreciate the help.
*192.168.1.6 is the Bi server IP
You're right, those questions are for the cert. It sounds like you might not have installed the service and started it. You have to go to Start>All Programs>Stunnel, then click stunnel Service Install. Then go to Start>All Programs>Stunnel and click Stunnel Service Start. I ran into the same issue, and those steps fixed it. Let me know what happens. You only have to do this once. It should automatically start when you restart the computer.
I also noticed in the configuration file that some authentication items are not automatically turned on by default. So while these steps get the program running over https, it may not be as secure as it could be/not secure at all. I don't know. Mechanical engineer here, not a network pro.