FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 07-15-2008, 04:15 PM
"Sean Carolan"
Default Help with iptables rule for blocking UDP port 53

I would like to block all DNS queries that come from one particular ip
address. I used TCPdump to verify that the queries were in fact,
coming from this IP:

[scarolan@server:~]$ sudo tcpdump -n udp port 53 and src
tcpdump: listening on eth0
11:12:17.162100 > 14270+ A?
server.domain.com. (32) (DF)

Could someone help with the proper syntax for an IPtables rule to
block port 53 udp traffic from this IP? I tried this rule but it
doesn't work:

-A RH-Firewall-1-INPUT -s -m udp -p udp --dport 53 -j REJECT
CentOS mailing list

Thread Tools

All times are GMT. The time now is 04:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org