Repository navigation
IPTables not supported #293
Description
Activity
iptables is supported so something is wrong with the version check sequence in your environment. On your client, could you please edit /usr/local/facileManager/fmFirewalll/functions.php and change line 223
$url = $serverhost . '/buildconf';to
$url = $serverhost . '/buildconf.php';Then try the installer again and report back.
Ok, I edited the file but it still says "not supported". iptables is the standard one from debian repository.
"iptables --version
iptables v1.4.21"What OS/distro are you using for your fM server? Running through the fmFirewall client installer on debian 8 worked fine against an EL 6.7 fM server. The iptables version is fine, but it's failing with a check against the server for some reason.
Digging further into the check, the versionCheck() function in /usr/local/facileManager/fmFirewall/functions.php was put in place for future support in case the version actually mattered for particular functionality. You could bypass the check altogether by editing /usr/local/facileManager/fmFirewall/functions.php and putting the following right after line 223:
return true;That would make the function look like this:
function versionCheck($app_version, $serverhost, $compress) { return true; $url = $serverhost . '/buildconf'; $data['action'] = 'version_check'; ...This should get you through the rest of the install and fmFirewall operational.
I will check it out in a bit. Server and Client are:
cat /proc/version
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)Latest Debian with all Updates
Ok, Installation worked but the clients are not added in the firewall list @ webinterface. When I manually add them, it says -> Client Install Required. I've chosen "cron" as install method
Confirmed bug in that fmFirewall clients are not actually getting added to the database. Working on a solution.
- added a commit that references this issue
on Mar 15, 2016 Issue fixed in fmFirewall v1.2.4. Thanks for the report!
In your case, just reinstall the client and you should be all set.
Hello again,
thank you for fixing the firewall issue, I can access the firewall tab now. But on an updated Debian 8 (Jessie) the firewall module tells me this while Installation:
iptables 1.4.21 is not supported.
Which install is supported with debian? Or which fw can I use on Debian and is supported within fmFirewall.
Thanks again!