Announcement

Collapse
No announcement yet.

NXFilter on Docker

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NXFilter on Docker

    Hello all

    It might be a simple question, but I have the docker version of NX Filter running using the simple line of

    docker run -dt --name nxfilter --restart unless-stopped -v nxfilter-conf:/nxfilter/conf -v nxfilter-log:/nxfilter/log -v nxfilter-db:/nxfilter/db -p 80:80 -p 443:443 -p 53:53/udp -p 19002-19004:19002-19004 packetworks/nxfilter-base:latest

    NXFilter appears to run, the web page and admin account works, however its currently not blocking anything ? Have I missed a vital step to get basic blocking operational ?

    Thanks
    Magnus

  • #2
    To update if I change nxfilter to use the Globlist filter it does indeed block traffic, thus it seems that the 30 day trial period might decay from the date the docker image was shared in the repository. If anyonecan confirm my theory that would be useful

    Comment


    • #3
      I installed it myself and I think there's something wrong. In the docker container, system DNS doesn't work. There's /etc/resolve.conf and 8.8.8.8 is set as the system DNS server but it still doesn't work.

      To use Jahaslist, it needs to know where it is to verify its license. Even if it's a trial or free, it still needs to verify it. But for Globlist, it doesn't need to I guess. I will talk to docker image writer.

      Comment


      • #4
        So it appears this is an issue with some Alpine containers, including the one latest is based on.

        The current two options I can think of:
        1. Use the debian tag
        Or
        2. Use the docker run --dns option if you want to continue using latest

        I do have plans to move away from Alpine but with how busy my summer and current job are, I likely won't start work on that until Winter.

        I will however make sure to do more testing on the automated builds for the debian tag to make sure it's production ready. The image based on Debian is actually faster than Alpine here so you'll see some performance benefits at the cost of a larger overall image.

        Hope that helps.

        Comment


        • #5
          If the system DNS doesn't work there will be other things making troubles. It can't update Globlist as well. Globlist is just a part of Jahaslist. I recommend you to install NxFilter by other methods before we fix the problem.

          Comment


          • #6
            Rob is working on a new docker image.

            Comment


            • #7

              New Docker images are here, https://github.com/DeepWoods

              It's Rob Ahser's Github page. Rob has been working as a tech-support guy for the NxFilter users in USA. He built his Docker images for NxFilter and NxCloud based on Ubuntu Linux.

              Comment

              Working...
              X