Tagged: nxfilter installation
- This topic has 2 replies, 2 voices, and was last updated Jul 20-1:34 pm by HEJO.
-
AuthorPosts
-
July 19, 2021 at 3:34 pm #63278Member
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 nxfilterActions 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.
July 19, 2021 at 4:50 pm #63285Member
Xecure
::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/connmandIf 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 startand then see if the nxfilter works
sudo /nxfilter/bin/startup.shIf 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.July 20, 2021 at 1:34 pm #63322MemberHEJO
::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 -
AuthorPosts
- You must be logged in to reply to this topic.