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 file from us.
Ubuntu LinuxWe have a .deb package 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-18.104.22.168.deb sudo dpkg -i nxfilter-22.214.171.124.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 126.96.36.199' > /etc/resolv.conf
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 a .zip package from us.
- 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'.