I have defined policies using days and hours defined with Time objects.
When I attempt to install the compiled script on my destination server, the following error occurs:
iptables v1.4.7: unknown option `--days' Try `iptables -h' or 'iptables --help' for more information.
The script generated by fwbuilder contains lines like:
$IPTABLES -A INPUT -m state --state NEW -m time --timestart 20:00 --timestop 22:05 --days Sun,Mon,Tue,Thu,Sat -j Cid3725X10680.0
According to the man page, the correct option is "weekdays" not "days".
I altered the generated script and changed the option to weekdays and it then executed correctly.
I am using fwbuilder version 126.96.36.19999 on Windows 7. Installer name was fwbuilder-188.8.131.5299.exe.
Destination server is running Centos 6.4 running iptables package version 1.4.7-9.el6.