How to install nxfilter in ubuntu server 12.04lts ?

862 views
Skip to first unread message

Shankar Narayan

unread,
Sep 27, 2013, 5:39:01 AM9/27/13
to nxfil...@googlegroups.com
sir,
i have a small newtork of windows client with ubuntu server samba4 domain i want install nxfilter for internet filtering how install and configure nxfilter in ubuntu server along with samba4 domain

Jinhee

unread,
Sep 27, 2013, 5:59:43 AM9/27/13
to nxfil...@googlegroups.com
Firstly you don't need Samba for that.
Just follow the instruction from the tutorial.
  http://nxfilter.org/tutorial.php#install_unix

By the way I use Ubuntu for testing it's 100% working on Ubuntu.
Don't worry.
you will get the filtering.

Jinhee

Shankar Narayan

unread,
Sep 30, 2013, 12:21:29 AM9/30/13
to nxfil...@googlegroups.com
i have domain in ubuntu server nxfilter do any affect to domain dns?

Jinhee

unread,
Sep 30, 2013, 12:27:53 AM9/30/13
to nxfil...@googlegroups.com
Do you mean that you have a DNS server on your Ubuntu server?
You'd need to stop that DNS server otherwise you will have a port collision problem.
Or you can install NxFilter on other system.
If you're not good at Linux you'd better go with Windows at least for testing.

Jinhee

Shankar Narayan

unread,
Sep 30, 2013, 12:36:24 AM9/30/13
to nxfil...@googlegroups.com
now im using nxfilter with virtualbox windows sometime its "page not available " error comes instead of block page.
i am not having dns server. but samba4 domain having its own dns forwarder i think. if i stops that no clients will login to domain....!
i am not good in linux but i can do


Jinhee

unread,
Sep 30, 2013, 1:11:29 AM9/30/13
to nxfil...@googlegroups.com
What's your resolving dns server on Config > config?
Are you talking about NxFilter sometimes not resolving your own domain recorords?
You can use zone-transfer function for importing your own dns-zone into NxFilter cache.
Or you can use this kind of setup.
  Your client PC -> NxFilter -> Your own DNS server.

Jinhee

Shankar Narayan

unread,
Sep 30, 2013, 1:25:35 AM9/30/13
to nxfil...@googlegroups.com
attached my config
Screenshot from 2013-09-30 10:52:17.png

Shankar Narayan

unread,
Sep 30, 2013, 1:27:09 AM9/30/13
to nxfil...@googlegroups.com
zone transfer   "Error while transfer!"  error shows

Jinhee

unread,
Sep 30, 2013, 1:34:24 AM9/30/13
to nxfil...@googlegroups.com
So you're using DDNS for your Samba domain and that DDNS is 192.168.1.10?
Try nslookup or dig through NxFilter to resolve one of your Samba domain records.
And what's your Samba domain?
And zone-transfer might not be allowed from your Samba domain.
Try to look into some detailed error message in /log/nxd.log about the zone-transfer error.
If you're good at using nslookup or dig you can test zone-transfer against your DDNS server.

Jinhee

Shankar Narayan

unread,
Sep 30, 2013, 1:43:06 AM9/30/13
to nxfil...@googlegroups.com
ERROR [09-30 11:10:08] - org.xbill.DNS.ZoneTransferException: NXDOMAIN, srimatha.local, 192.168.1.10
in log my domain is srimatha.local

Shankar Narayan

unread,
Sep 30, 2013, 1:45:40 AM9/30/13
to nxfil...@googlegroups.com
nslookup attached

Screenshot from 2013-09-30 11:13:59.png

Shankar Narayan

unread,
Sep 30, 2013, 1:51:57 AM9/30/13
to nxfil...@googlegroups.com
nslook up of another client that having nxfilter dns
nslookup in client.png

Jinhee

unread,
Sep 30, 2013, 2:03:47 AM9/30/13
to nxfil...@googlegroups.com
Try dig command for zone-transfer testing.

  dig @192.168.1.10 srimatha.local axfr

This means you're trying to zone-transfer srimatha.local domain from 192.168.1.10.

Shankar Narayan

unread,
Sep 30, 2013, 2:16:21 AM9/30/13
to nxfil...@googlegroups.com
sorry i cant do dig @

Jinhee

unread,
Sep 30, 2013, 3:32:23 AM9/30/13
to nxfil...@googlegroups.com
Try that on your Linux system.

Shankar Narayan

unread,
Sep 30, 2013, 3:57:22 AM9/30/13
to nxfil...@googlegroups.com
; <<>> DiG 9.8.1-P1 <<>> @192.168.1.10 srimatha.local axfr
; (1 server found)
;; global options: +cmd
; Transfer failed.
shan@SERVER:~$

Jinhee

unread,
Sep 30, 2013, 1:55:26 PM9/30/13
to nxfil...@googlegroups.com
That means your DNS server not allowing zone-transfer.
You'd need to make 'dig' command working first.

Shankar Narayan

unread,
Oct 1, 2013, 12:17:10 AM10/1/13
to nxfil...@googlegroups.com
samba internal dns not having dig option instead of dig we can use "sudo /usr/local/samba/bin/samba-tool dns query localhost srimatha.local @ ALL -U administrator"
results attached
Screenshot from 2013-10-01 09:45:01.png

Jinhee

unread,
Oct 1, 2013, 1:39:45 AM10/1/13
to nxfil...@googlegroups.com
What I was talking about was you'd need to make that 'dig' command working.
Because you couldn't transfer the zone using 'dig' command.
Means you can't transfer the zone into NxFilter as well unless you allow the zone-transfer on Samba DNS side.

Jinhee

unread,
Oct 1, 2013, 1:41:49 AM10/1/13
to nxfil...@googlegroups.com

Shankar Narayan

unread,
Oct 1, 2013, 3:21:42 AM10/1/13
to nxfil...@googlegroups.com
ok but i dont have bind dns installed in my ubuntu

Shankar Narayan

unread,
Oct 1, 2013, 3:26:47 AM10/1/13
to nxfil...@googlegroups.com
https://bugzilla.samba.org/show_bug.cgi?id=9634
more about samba internal dns and bind dns

Shankar Narayan

unread,
Oct 1, 2013, 3:31:36 AM10/1/13
to nxfil...@googlegroups.com
it was more complicated i dont have that much of knowledge about zones so my domain dosent requires it leave it ....!!!
Reply all
Reply to author
Forward
0 new messages