I figured out how to configure stunnel to work with an IP camera, so I figured I'd share in the hopes it saves someone some time:
[IP-Cam-Port-18555]
accept = IP ADDRESS OF MACHINE:18555
connect = IP ADDRESS OF CAMERA:18555
cert = C:\Program Files\stunnel\config\stunnel.pem
CAfile = C:\Program Files\stunnel\config\ca-certs.pem
Notes:
Pick what ports you need
Do not enable client = yes. I saw this in the BI config, suppose it's needed in that case for some reason.
You can't use 127.0.0.1 for the IP address of the machine stunnel is running on. You need to use the actual IP (Why? Workaround?)
Disclaimer: Until an hour ago, I didn't know what I was doing. This works for me.
[IP-Cam-Port-18555]
accept = IP ADDRESS OF MACHINE:18555
connect = IP ADDRESS OF CAMERA:18555
cert = C:\Program Files\stunnel\config\stunnel.pem
CAfile = C:\Program Files\stunnel\config\ca-certs.pem
Notes:
Pick what ports you need
Do not enable client = yes. I saw this in the BI config, suppose it's needed in that case for some reason.
You can't use 127.0.0.1 for the IP address of the machine stunnel is running on. You need to use the actual IP (Why? Workaround?)
Disclaimer: Until an hour ago, I didn't know what I was doing. This works for me.
Last edited: