I had csf firewall installed because I didn’t know that lxd acts as a firewall so then I uninstalled csf and csf did this:
Flushing chain lxd_nic_lxdbr0' Deleting chain
ALLOWIN’
Deleting chain ALLOWOUT' Deleting chain
DENYIN’
Deleting chain DENYOUT' Deleting chain
INVALID’
Deleting chain INVDROP' Deleting chain
LOCALINPUT’
Deleting chain LOCALOUTPUT' Deleting chain
LOGDROPIN’
Deleting chain LOGDROPOUT' Deleting chain
lxd_nic_lxdbr0’
I tried lxd init
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]: no
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]: no
Would you like to configure LXD to use an existing bridge or host interface? (yes/no) [default=no]: yes
Name of the existing bridge or host interface: lxdbr0
Would you like the LXD server to be available over the network? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]:
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:
Error: Failed to update profile "default": Device validation failed for "eth0": Cannot use "nictype" property in conjunction with "network" property
I tried lxc network create lxdbr0
Error: The network already exists
lxc list still shows all of my containers are still there but my main site will no-longer load ERR_SSL_PROTOCOL_ERROR
just because csf destroyed lxd_nic_lxdbr0
Please, how do I get it back?