Install NxFilter on Linux
You can run NxFilter on Linux and other Unix like OS. We have DEB packages, RPM packages and docker images. You also can install it with ZIP packages.
We found some Linux systems missing 127.0.0.1 IP address. When you don't have 127.0.0.1 set on your system, NxFilter will not be starting or having some malfunctions.
Ubuntu LinuxWe have DEB packages for installing NxFilter on Ubuntu Linux. To install it, after you install Java, download the package using 'wget', and then install it using 'dpkg'. Then start it from the Systemd script bundled with the package.
You can view the installation process with the following command.
sudo apt-get install openjdk-8-jre wget http://pub.nxfilter.org/nxfilter-220.127.116.11.deb sudo dpkg -i nxfilter-18.104.22.168.deb sudo systemctl enable nxfilter sudo systemctl start nxfilter
On Ubuntu 18, 'systemd-resolved' service uses UDP/53. You have to disable it and set another DNS server for your system before you install NxFilter. To stop and disable it, run the following commands.
tail -f /nxfilter/log/nxfilter.log
sudo service systemd-resolved stop sudo systemctl disable systemd-resolved.service sudo rm /etc/resolv.conf sudo echo 'nameserver 22.214.171.124' > /etc/resolv.conf
Ubuntu 20 has the same problem.
Using RPMRob Asher has built an RPM repository for NxFilter and other packages. His RPM packages take care of Java installation and all the dependencies.
Then you can install NxFilter using yum command.
yum install http://deepwoods.net/repo/deepwoods/deepwoods-release-6-2.noarch.rpm
There are other packages as well.
yum install nxfilter
yum install nxcloud yum install nxrelay
Using DockerCharles Gunzelman has built docker images for NxFilter.
docker run -dt \ --name nxfilter \ -v nxfilter-conf:/nxfilter/conf \ -v nxfilter-log:/nxfilter/log \ -v nxfilter-db:/nxfilter/db \ -p 53:53/udp \ -p 80:80 \ -p 443:443 \ -p 19002-19004:19002-19004 \ packetworks/nxfilter-base:latest
Using zipYou can install NxFilter on other Linux and Unix like OS using ZIP packages.
- Download nxfilter-x.x.x.x.zip
- Extract the zip file into /nxfilter
- Go to /nxfilter/bin and run 'chmod +x *.sh'
- Run startup.sh with root permission
You can run NxFilter as a daemon with '-d' flag to /nxfilter/bin/startup.sh.
Admin GUITo access its admin GUI, start your browser. If you install it on 192.168.0.100 type 'http://192.168.0.100/admin' into the address bar of your browser. The initial username and password are 'admin/admin'.