Solved

how to block Domain

Posted on 2004-03-23
1
724 Views
Last Modified: 2008-02-01
How to block a domain using iptables ?


thx
0
Comment
Question by:tinwong33
1 Comment
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 10665175
iptables -A INPUT -s net-IP-of-domain/netmask -J DROP
iptables -A FORWARD -s net-IP-of-domain/netmask -J DROP

# for eaxample net-IP-of-domain/netmask :  10.42.42.0/24
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Fine Tune your automatic Updates for Ubuntu / Debian
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question