LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 09-17-2009, 05:25 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 68
Thanked: 0
Router domain blocking


[Log in to get rid of this advertisement]
I am using a slackware box as a router (2 nics).

Playing with DD-WRT on a Linksys router, I noticed that it offers the ability to block certain domains. I'm not clear on the exact function of that blocking, but I assume that it looks up the DNS entry(s) for the user listed domains, and then does something.

Does anyone here know what the mechanism is for doing this?

Even better, is there a CLI string which will accomplish the same or similar thing on a system with iptables?

Thanks.
windows_xp_2003 linuxbird is offline  
Tag This Post ,
Reply With Quote
Old 09-18-2009, 10:48 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 317
Thanked: 20
Custom applications (like the one running in the proprietary firewalls) can do a lot of stuff which may not have
a direct easy achieve-able CLIs in linux box

if you want to block certain domains, I would suggest using tproxy with squid and then using squid config to
select the domains which you want to allow/deny. This is completely transparent and no config needed on the
part of the other networked systems.
linux bhaslinux is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Blocking Domain (but not in search engine) allancth Linux - Server 5 07-29-2009 07:07 AM
relaydelay blocking fake domain noir911 Linux - Server 0 08-13-2008 10:44 AM
Blocking a domain referrer from a webserver? Seventh Linux - Security 1 02-06-2007 05:28 PM
Domain and specific 'word' blocking in firewall2 hiplainsdrifter Linux - Newbie 5 04-07-2004 04:54 PM
Blocking Incoming e-mail from a domain using iptables Zychior Linux - Security 2 04-06-2004 01:13 PM


All times are GMT -5. The time now is 03:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration