Installing FWBuilder 5.0.1.3592-1 on CentOS 5.8

First of all, let’s install QT4:

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

rpmbuild –rebuild ftp://fr2.rpmfind.net/linux/sourceforge/f/fw/fwbuilder/Current_Packages/5.0.1/fwbuilder-5.0.1.3592-1.el5.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/fwbuilder-5.0.1.3592-1.i386.rpm
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:
fwbuilder_1
NAT rule:
fwb-nat_2
To import existing rules into FWBuilder:
fwb-import_3
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

Discussion

Uchla
08.04.2016
On deb-based system you will add
pre-up iptables-restore < /etc/iptables.save
to the end of file /etc/network/interface
Uchla
14.04.2017
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.