Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iptables question



Derek Atkins wrote:
> Dave Peters <gameslover987-/E1597aS9LQAvxtiuMwx3w at public.gmane.org> writes:
>
>   
>> Is there anyway to use iptables blocking domain name not IP address?
>>
>> Example to block hotmail.com.
>>
>> I tried this iptables -A FORWARD -d hotmail.com -j REJECT and it won't work.
>>     
>
> You might have better luck running a local DNS and hosting a master zone
> "hotmail.com" and sending all results to either NXDOMAIN or 127.0.0.1.
>
> Or use a browser plugin...

Or, just put hotmail.com into the source computer's HOSTS file: point it 
to 127.0.0.1.

It's all a question of how much time and effort you're able to spend 
dealing with exceptions.

Bill

-- 
E. William Horne
William Warren Consulting
Computer & Network Installations, Security, and Service
http://william-warren.com
781-784-7287








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org