Stunnel problems, binding issue/address issue

Jay Dub

n3wb
Mar 1, 2018
11
5
Wyoming
I followed the video tutorial on setting up Stunnel with BI (by HomeTech Video). I have my firewall port forwarding WANAddress:8080 to forward to my BI at 10.1.15.5 but that's not the issue. I have stunnel installed and my stunnel.conf file has the "TLS client mode services" deleted as per the video and in the "TLS server mode services" I have:
[blueiris]
accept = 8080
connect = 81
cert = stunnel.pem

Just like the video shows. In my BI settings they look like:
1572996663715.png

When I go into Stunnel I see a binding issue looking like the address of 127.0.0.1:8080 is shutting it all down.
1572996764632.png

Do any of you see something obvious that needs changed?

Thanks,
Jay Dub
 
Can't have STUNNEL and BI on the same port.
eg: n STUNNEL Change accept = 8080 to accept = 8081
Then in BI change the secure port from 8080 to 8081
Bit rusty here, you router needs to port forward requests on port 8081 to STUNNEL on port 8081
In STUNNEL you also need to change the CONNECT port from 81 to 8080.

Under this config you should not have any port forwarding on your router on port 8080.

SSL 8081 -> ROUTER --- 8081 --> STUNNEL ---> HTTP 8080 --> BI