Installing FWBuilder on CentOS 5.8

First of all, let’s install QT4:

Now we look for packages with files of dependencies:
yum provides “*/*” (or yum whatprovides */*)

rpmbuild –rebuild
rpm -ivh /usr/src/redhat/RPMS/i386/fwbuilder-
I haven’t X-system on my CentOS server & it was neccessary for me to use MS Windows desktop as X-server.
So further we install XMING on Windows and run it.
Command on CentOS-side:

Finally we launch fwbuilder:
NAT rule:
To import existing rules into FWBuilder:
You always can execute command service iptables save to save rules /etc/sysconfig/iptables
Don’t forget to mark one interface as “management interface”.
To debug, to find denied logged connections:
cat /var/log/messages | grep IP_ADDRESS_OR_SMTH
To pre up iptables rules on the destination PC:

It saves it into /etc/sysconfig/iptables file (which will be pre-up using iptables-restore on boot from /etc/init.d/iptables).
P.S. Please note to use IP-ranges in rules instead of adapter names.
igrad-v1.fwb | asterisk-v2.fwb | for_deb78.fwb


On deb-based system you will add
pre-up iptables-restore < /etc/
to the end of file /etc/network/interface
On OpenWrt you have to:
ln -s /usr/sbin/lsmod /sbin/lsmod
/etc/init.d/firewall disable
/etc/init.d/fwbuilder.fw enable

Җавап калдыру

All fields are required. Your email address will not be published.