I was trying to add a firewall rule for mariadb on the port 3306 and I noticed the firewall is acting weird not letting me add or modify any rule..giving me the Failed to execute command routine as you can see from the error code down here.
I don't think is something strictly related with iptable, but I'm getting this problem only with it at the moment.
Any suggestion on how to solve this?
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; /etc/network/if-pre-up.d/openmediavault-iptables 2>&1' with exit code '2': iptables v1.6.0: Bad ctstate "ESTABILISHED,RELATED" Try `iptables -h' or 'iptables --help' for more information.
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; /etc/network/if-pre-up.d/openmediavault-iptables 2>&1' with exit code '2': iptables v1.6.0: Bad ctstate "ESTABILISHED,RELATED"
Try `iptables -h' or 'iptables --help' for more information. in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/openmediavault/engined/module/iptables.inc(46): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleIptables->startService()
#2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus6X...', '/tmp/bgoutput9o...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
Alles anzeigen