Networks Thread, Filtering wireless with Dansguardian (ruckus and dlink) in Technical; Hi All,
I am looking for a solution that will allow me to filter our wireless internet connection using our ...
-
27th August 2009, 09:44 AM #1
- Rep Power
- 0
Filtering wireless with Dansguardian (ruckus and dlink)
Hi All,
I am looking for a solution that will allow me to filter our wireless internet connection using our dansguardian filter. I have all of our students browsers normally pointing to http://192.168.0.252:8080 which is the proxy server but at the moment anyone with a wirless enabled device that can access the wifi is pointed straight at our gateway bypassing the proxy.
I have 4 Ruckus APs controlled by Zone director 1000 with the latest firmware and 4 dlink aps unmanaged. If there is an easy solution to get the Ruckus lan working I can always move the Dlinks onto another ssid with a different pass and just use them for specific projects.Anyone any suggestions ? 
Cheers
John
-
-
IDG Tech News
-
27th August 2009, 09:52 AM #2 
Originally Posted by
Shorty
Hi All,
I am looking for a solution that will allow me to filter our wireless internet connection using our dansguardian filter. I have all of our students browsers normally pointing to
http://192.168.0.252:8080 which is the proxy server but at the moment anyone with a wirless enabled device that can access the wifi is pointed straight at our gateway bypassing the proxy.
I have 4 Ruckus APs controlled by Zone director 1000 with the latest firmware and 4 dlink aps unmanaged. If there is an easy solution to get the Ruckus lan working I can always move the Dlinks onto another ssid with a different pass and just use them for specific projects.Anyone any suggestions ?
Cheers
John
I have passed this to our technical team John,
-
-
27th August 2009, 10:10 AM #3
-
-
27th August 2009, 10:14 AM #4 take your Linux box make it the gateway
copy the following to the file /etc/rc.d/rc.local/iptables-config
And this script on Debian based systems:
/etc/rc.local/iptables-config
------------------------------------------------------------------
#!/bin/bash
iptables -F
# set the default policy for each of the pre-defined chains
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# to allow incoming SSH and Proxy
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -m state --state NEW -p tcp -m tcp -s 127.0.0.1 --dport 3128 -j ACCEPT
iptables -A INPUT -m state --state NEW -p tcp -m tcp --dport 8080 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
# drop everything else
iptables -A INPUT -i eth+ -p udp -j DROP
iptables -A INPUT -i eth+ -p tcp -m tcp --syn -j DROP
----------------------------------------------------------------------------------
chmod +x /etc/rc.d/rc.local/iptables-config - makes the iptables-config script executable
And this script on Debian based systems:
chmod +x /etc/rc.local/iptables-config - makes the iptables-config script executable
now every thing that goes to access the internet get all cleaned up.
and thats transparent proxying.
you might want to install antivirus as well..
google DG with AV if your using ubuntu apt-get install dansguardian-av make sure you set to install all dpes.
More help http://www.thedailyadmin.com/2009/04...hine-with.html
Last edited by Cools; 27th August 2009 at 10:25 AM.
-
Thanks to Cools from:
Shorty (28th August 2009)
-
27th August 2009, 12:02 PM #5 Hi Shorty,
You can get the wireless clients to go through your proxy by creating a Layer4 ACL on the ZoneDirector and applying that ACL to the SSID clients conect to.
Note you will need version 8 in order to complete.
Simply create an ACL allowing access to your proxy server on it is specific port.
Add other Allow / Deny Rules below it.
Then edit the WLAN and apply the Layer4 rule to it in advanced options.
Kind Regards
Stuart
-
Thanks to StuartWhite from:
Shorty (28th August 2009)
-
27th August 2009, 12:08 PM #6
- Rep Power
- 0
Cheers Guys all good stuff :-)
I will have a look at playing with both options when I get back to it
Thanks
John
-
-
28th August 2009, 02:25 PM #7
- Rep Power
- 0
Hi Cools,
I am struggling to implement your suggestion I am falling at the first Hurdle the Linux version that DG is running on is CentOS Linux 4.4. I have found the file iptables in /etc/rc.d/init.d and the iptables-config file in /etc/sysconfig is it this that I need to edit ?
Cheers
John
-
-
28th August 2009, 02:35 PM #8 I would venture to suggest that Stuart's solution is the better one - ideally you want your wireless users having the same or similar filtering to "regular" users - so perhaps hacking up a dg install for them might not be a great route, especially if you aren't fully comfortable with its operation.
-
-
28th August 2009, 02:43 PM #9 Simplicity in this scenario will be bliss. Make use of the ZD's Layer3-4 ACL.
-
-
28th August 2009, 03:39 PM #10
- Rep Power
- 0
Hi Stuart, not having a good day struggling with the Zone Director ACL as well, was going for Cools option first as it allowed me to integrate the old APs. But when I had a look at Zone Director I couldnt see the obvious route to forward everything to http://192.168.0.251:8080. Going to have another look now ;-)
-
-
28th August 2009, 04:07 PM #11 
Originally Posted by
Shorty
Hi Stuart, not having a good day struggling with the Zone Director ACL as well, was going for Cools option first as it allowed me to integrate the old APs. But when I had a look at Zone Director I couldnt see the obvious route to forward everything to
http://192.168.0.251:8080. Going to have another look now ;-)
What version of code are you running?
It will be under "Configure -> Access Control"
-
-
28th August 2009, 04:11 PM #12 You will need to be running V8
-
-
28th August 2009, 04:59 PM #13
- Rep Power
- 0
Yeah I am running V8.
I have configured the gateway to 192.168.0.252
and in the ACL settings I have setup the following as a start.

I have then edited the advanced options of the WLAN to set the L4 ACL as Dans.
Any suggestions ?
Cheers
john
-
-
28th August 2009, 05:13 PM #14
- Rep Power
- 0
mm re-looking at this I can see that what I am doing must be incorrect as I am filtering anything that goes to 8080 and denying all others, but obvioulsy this isnt the aim
-
-
28th August 2009, 07:27 PM #15
- Rep Power
- 15
Hi Guys,
I'm trying to do the exact same thing with our Wireless LAN (Ruckus, running the latest Firmware) and giving students that access the Guest SSID access to our Internet VIA a Proxy server, i can't get my head around how to do it, also, would the students using there own laptops need to go in and enter a proxy server under there Internet Options to get out onto the internet or can the Ruckus Kit push this setting out so when they connect to the Guest SSID with a Guest Pass the internet will just "Work"!
Thanks,
Matt
-
SHARE:
Similar Threads
-
By Shorty in forum Networks
Replies: 2
Last Post: 26th August 2009, 09:30 AM
-
By CPLTD in forum Our Advertisers
Replies: 4
Last Post: 21st August 2009, 09:25 AM
-
By eean in forum Hardware
Replies: 3
Last Post: 5th February 2008, 04:31 PM
-
By tosca925 in forum Networks
Replies: 4
Last Post: 6th February 2007, 10:35 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules