Menu

Tree [00aa69] master /
 History

HTTPS access


File Date Author Commit
 data 2024-01-31 Daniel Roque Daniel Roque [b05c6c] added two more data to remote backup info, comp...
 scripts 2024-04-12 Daniel Roque Daniel Roque [f078e2] add option to ignore rsync failures when status...
 tools 2021-12-24 Daniel Roque Daniel Roque [e69455] moved websockify outside noVNC directory
 ARCH 2021-02-18 Daniel Roque Daniel Roque [df64ff] default arch is amd64 now
 README.md 2018-06-20 Daniel Roque Daniel Roque [b993a7] README.md updated, project moving to sourceforge
 VERSION 2024-04-12 Daniel Roque Daniel Roque [00aa69] add option to ignore rsync failures when status...
 makefile 2023-03-10 Daniel Roque Daniel Roque [0b2cca] add dfw-web new web interface programa, add dfw...

Read Me

Dfirewall 5.0

Latest News

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

HowTo Install (Debian)

git clone git://git.code.sf.net/p/dfirewall/code --depth=1
cd dfirewall
make debian
dpkg -i dfirewall*.deb
apt-get install -f

Basic Config

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

Migrating from 4x to 5x on Debian (deb http://fatux.myddns.com/ fatux main)

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