NXFILTER installation fails

Forum Forums General Software NXFILTER installation fails

  • This topic has 2 replies, 2 voices, and was last updated Jul 20-1:34 pm by HEJO.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #63278
    Member
    HEJO

      Hi,
      has someone tried to install nxfilter on AntiX?
      Unfortunately I haven not been unable to do so until now. If anybody has any suggestions, please help.
      Official instructions:
      sudo apt-get install openjdk-8-jre
      wget http://pub.nxfilter.org/nxfilter-4.3.6.1.deb
      sudo dpkg -i nxfilter-4.3.6.1.deb
      sudo systemctl enable nxfilter
      sudo systemctl start nxfilter

      Actions from my site so far:
      sudo apt update
      sudo apt install default-jdk
      wget http://pub.nxfilter.org/nxfilter-4.3.6.1.deb
      sudo dpkg -i nxfilter-4.3.6.1.deb
      Go to ‘/nxfilter/bin’ and run ‘chmod +x *.sh’
      /bin/bash “/nxfilter/bin/startup.sh”

      Unfortunately I run in several problems. Beside the original installation instructions, I have problems with port 53 being used already(prob. connman).
      Any help is appreciated.

      regard.

      #63285
      Member
      Xecure
        Helpful
        Up
        0
        ::

        You are right. Connman seems to be to blame.
        Run this in terminal and see if connmand is taking the UDP/53 port, as in mine
        netstat -tulpn
        This is what I see:

        [...]         
        tcp6       0      0 ::1:53                  :::*                    LISTEN      2821/connmand       
        udp        0      0 127.0.0.1:53            0.0.0.0:*                           2821/connmand       
        udp6       0      0 ::1:53                  :::*                                2821/connmand

        If running antiX 19.X (normal non-runit edition), edit the connman init script to disable the dns management.
        sudo geany /etc/init.d/connman
        Close to the top, below the DAEMON variable setting, create a new one named DAEMON_OPTS with these options:
        DAEMON_OPTS="-n --nodnsproxy"

        Restart connman service

        sudo service connman stop
        sudo service connman start

        and then see if the nxfilter works
        sudo /nxfilter/bin/startup.sh

        If everything works, add the startup command (the one above but without sudo) to /etc/rc.local (before exit). Reboot and see if your system didn’t break.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #63322
        Member
        HEJO
          Helpful
          Up
          0
          ::

          Thanks so much for your help. Nice and clear instructions.
          After adding DAEMON_OPTS=”-n –nodnsproxy” and stop and start connman from console, the terminal sessions produces informations on adding routes, delete routes and connman hangs.
          It can be terminaled by ctrl C.
          On startup, the system hangs on adding routes, delete routes and then stops executing. Only an init 6 by entering ctrl alt del can be done.
          I changed the option to DAEMON_OPTS=”–nodnsproxy”. Not sure what the difference is, but connman runs fine in terminal session as well on startup.
          Adding /nxfilter/bin/startup.sh to /etc/rc.local starts up nxfilter.
          It can be accessed from the browser by 127.0.0.1/admin.
          For functionality further tests need to be done.
          For the moment the system seems to run.
          Regards

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.