bigbluebutton / docker

Docker files for BigBlueButton
GNU Lesser General Public License v3.0
374 stars 248 forks source link

freeswitch does not work on OSes without iptables #261

Open aurorasmiles opened 1 year ago

aurorasmiles commented 1 year ago

With v2.6, the freeswitch container no longer starts on an OS without iptables (such as RHEL 9 for example). I believe this is due to the change from Debian bullseye, which also uses nftables, to Ubuntu 20.04, which does not. The exact error message is:

iptables v1.8.4 (legacy): can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
aurorasmiles commented 1 year ago

Was there any reason why this switch was made? I'd quite like to upgrade to 2.6 :D

leonidas-o commented 1 year ago

Running on Rocky Linux 9 Haven't seen anything in the docs according to this (https://github.com/bigbluebutton/docker/blob/develop/docs/upgrading.md), so I updated my bbb instance. Now it's dead, same iptables issue as above. What's the status here?

leonidas-o commented 1 year ago

Looked into that a bit, the kernel module was not loaded. iptables itself is installed on Rocky Linux 9. So after loading the iptables_raw module Freeswitch starts up.

Temporary

modprobe -v iptable_raw
docker-compose restart freeswitch

Permanently

cat << 'EOF' > /etc/modules-load.d/freeswitch.conf
iptable_raw
EOF