dfirewall dfirewall
Brought to you by:
tiekookeit
Dfirewall 5.0 is up comming, at the end we should have this changes
* mysql replaced by sqlite [done]
* internal web server should replace apache [done]
* web interface will be opional
* dfw-tool a unified tool [done]
* to be able to user ldap users on top of local users
* full multi-language support [done]
* better coding
* better documentation
* simplify configuration and usability
This is a unstable branch and should not be used for production
If you wanna test
git clone git://git.code.sf.net/p/dfirewall/code --depth=1
cd dfirewall
make debian
dpkg -i dfirewall*.deb
apt-get install -f
dfw-tool config setup
dfw-tool config reload
service hiawatha stop
insserv -rv hiawatha
service dfirewall start
dfw-tool service status -c
If you going to use proxy and dhcp, install squid, sarg and isc-dhcp-server
Access http://locahost:81 to finish configuration
First upgrade to last 4.x version available
$ apt-get update
$ apt-get install dfirewall
$ /usr/share/dfirewall/scripts/setup.sh
$ apt-get install dfirewall5
Run dfirewall 5.x setup, say yes to import dfirewall 4x, you gonna need old mysql user and password
$ dfw-tool config setup
Make backup of config folder
$ cp -aprf /etc/dfirewall /root/
Remove now both packages and reinstall dfirewall5 only
$ dpkg --purge dfirewall dfirewall5
$ apt-get install dfirewall5
Cat from backup your imported config
$ cat /root/dfirewall/config.db >/etc/dfirewall/config.db
Run setup again, this time say "no" to import dfirewall 4x, most config should be already imported
$ dfw-tool config setup
Remove old dfirewall dependecies
$ apt-get remove apache2 apache2-bin apache2-data apache2-utils
Clean proxies cache
$ dfw-tool proxy control clean
$ dfw-tool proxy control start
Reload services
$ dfw-tool config reload
$ dfw-tool service restart all
$ dfw-tool service status -c
Not all importing are full implemented yet, some things you gonna need to fix manualy
* wpad host poiting to /usr/share/dfirewall/www/wpad/
* smtp config must be manualy set dfw-tool config smtp
* proxy users
* proxy groups