Guide Safe access from outside

Guide

Safe access from outside

For anyone who uses Caesa away from home.

At home, the connection between Caesa and Blue Iris never leaves your network, so plain http:// is fine. Away from home it crosses other people’s networks, such as mobile data or café Wi-Fi. Then it needs to be encrypted, or someone along the way could watch your cameras or even take control of Blue Iris.

Which way suits you

WayGood ifWhat it takes
A VPNYou’d like the simplest and safest way. Nothing is opened to the internet.A VPN app on the Blue Iris PC (or your router) and on your phone
https, set up for youYour router forwards a port straight to Blue Iris now, or you use stunnelA free name for your home, and one setting on your router
Your own reverse proxyYou already run nginx, Caddy or similarNothing new for Caesa. Notifications need one more rule.

A VPN

A VPN such as Tailscale or WireGuard, or your router’s own VPN, puts your phone on your home network wherever it is, and encrypts everything in between.

  1. Set up the VPN on the Blue Iris PC, or on your router, and on your phone.
  2. In Caesa, use Blue Iris’s home address, such as http://192.168.1.10:81, or its VPN address, such as http://100.101.102.103:81 for Tailscale.

The VPN has to be on for Caesa to connect, and notifications only arrive while it is.

https, set up for you

Caesa Bridge 2.0 can give Blue Iris a proper https address, such as https://cameras.example.com. Choose Set up https for me in its setup window. It installs Caddy, a free and widely used web server, on the Blue Iris PC, and gets a free certificate that renews itself.

You need two things.

  • A name for your home. A free one from No-IP or DuckDNS is fine. Your router can keep it pointing at your home, usually under Dynamic DNS in its settings.
  • One rule on your router, forwarding port 443 to the Blue Iris PC. Setup shows you exactly what to enter.

Setup checks everything before it changes anything, and tells you if one of Blue Iris’s settings needs changing. When it’s done, change your server’s address in Caesa (Settings → Servers & network → your server → Change) to the new https one. Your old forward straight to Blue Iris can then go.

If you use stunnel now, setup can take over from it, so your router stays as it is. stunnel is switched off but kept, and it comes back if you ever remove Caesa’s https.

Some internet connections can’t accept forwarded ports at all, including many 4G and 5G home broadband services and Starlink. Setup tells you if yours is one of them, and then a VPN is the way to go.

Your own reverse proxy

A reverse proxy such as nginx, Caddy or Nginx Proxy Manager gives Blue Iris an https address with a proper certificate. With Caddy, the whole setup can be this short.

cameras.example.com {
    reverse_proxy BLUE-IRIS-PC:81
}

Put the Blue Iris PC’s address and Blue Iris’s port in place of BLUE-IRIS-PC:81, and forward ports 80 and 443 on your router to the machine running Caddy, not to Blue Iris. Then sign in to Caesa with your https address. For notifications, add the one rule in Your own reverse proxy or tunnel.

What to avoid

Plain http away from home

Caesa still connects over plain http, after a warning. Blue Iris’s sign-in never sends your password itself, but everything after it travels unencrypted. That includes video and pictures, and the session that can arm, disarm and move cameras. Someone on a network in between could watch it, or take control of Blue Iris.

While it’s set up like this, Settings → Servers & network → your server says Not encrypted. To fix it, set up one of the ways above, then remove the server in Caesa and add it again with the new address.

If you’d still rather keep plain http, Caesa Bridge 2.0 can put Caddy in front of Blue Iris, so notifications reach you away from home on the address you use now. It’s still not encrypted.

Letting home addresses in without a password

Blue Iris can let anyone at home in without a password, with its Require from: Non-LAN only setting (Settings → Web server → Advanced). Behind many reverse proxies and tunnels, that lets anyone on the internet in too, because Blue Iris thinks they’re at home. Unless you’re sure your proxy is set up for it, set Require from to All connections, which is Blue Iris’s default. Your own reverse proxy or tunnel explains which proxies are safe.