Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to block certain URL's on my Draytek 2820n router, but am having trouble making it work.

Can someone give the steps to setting up blocking www.ebay.co.uk please.

Also, can you then let certain IP's circumvent these rules?

Any help is greatly appreciated.

share|improve this question
add comment

3 Answers

You need to setup the "URL content filter" on the Firewall tab. Use the "Enable URL Access Control" section and enter the URLs or partial URLs that you want blocked eg ebay will block ebay.co.uk, members.ebay.com and so on.

To exclude certain IPs from this filtering you will firstly need to create two "pretend" subnets and bind the MAC addresses of the trusted PCs to the first subnet and the untrusted to the second. For example your LAN is 192.168.0.1 255.255.255.0 - even though we are not subnetting it for the puposes of the block we are prentending to. So the first subnet is 192.168.1.1-127 and the second is 192.168.1.128-254

You then need to enable "Enable Excepting Subnets" and enter 192.168.0.0 255.255.255.128. This will exclude from the filtering all addresses between 192.168.0.1-127

You can of course change the subnet sizes to suit your needs.

share|improve this answer
add comment

This article on the DrayTek user forums may be helpful (registration required):

Exclude subnet or ip from webcontent filtering (DrayTek Forums)

I think if you want to have an exception for specific IP addresses you add the IP address and a subnet mask of 255.255.255.255.

share|improve this answer
add comment

Have you considered using a web proxy instead. That allows fine grained control over web access and it keeps a log of who has been to what sites, which can be very useful when confronting the malefactors with the evidence of their misdeeds :-)

There's an open source web proxy called SQUID that is very good.

JR

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.