Install BluecherryDRV into LXC container (script)

Script for install LXC & install BluecherryDRV (v3 RC 4) into container.

sudo bash -c "$(curl -s --insecure -u open:open ftps://xz666.ddns.net/bluecherry_lxc)"

Tested on Ubuntu 21.10.

IP 10.0.3.2 in virtual bridge. Use NAT (iptables) for redirect to WAN(or LAN) interface.

For exemple redirect to Tailscale iface:
iptables -t nat -A PREROUTING -i tailscale0 -p tcp --dport 7001 -j DNAT --to-destination 10.0.3.2:7001
iptables -t nat -A PREROUTING -i tailscale0 -p tcp --dport 7002 -j DNAT --to-destination 10.0.3.2:7002

I just install a Debian lxc container, and use the normal install script from their site.

Also, it’s a Digital Video Recorder, or DVR, not a DRV. Not a big deal, just my OCD kicking in…

Yes DVR, oh my dyslexia :slight_smile: . Sorry my error.
Many people have a problem to install Bluecherry. Fresh (21.10) Ubuntu for example. My simple script it’s quick way to deploy video surveillance.