Article View: pl.comp.os.linux.sieci
Article #231833Re: dhcpd3 i iptables
From: whitey
Date: Mon, 17 Dec 2007 17:32
Date: Mon, 17 Dec 2007 17:32
18 lines
1280 bytes
1280 bytes
Lukasz Lacinski wrote: > Na maszynie dziala serwer dhcp. Chcialbym na tej maszynie za pomoca > iptables zablokowac pakiety generowane przez niego i wychodzace w siec. > Jak to zrobic? > > Pozdrawiam > Lukasz Lacinski porty udp. 67 i 68 iptables -I INPUT –I ethX –p udp –-sport 67:68 –-dport 67:68 –j DROP iptables -A OUTPUT –I ethX –p udp –-dport 67:68 –-dport 67:68 –j DROP ale moge sie mylic z pamieci pisalem, jak wroce do dom to sprawdze -- whitey
Technical Details
Message-ID:
<fk6bs3$iu7$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<fk5sec$ove$1@achot.icm.edu.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: whitey <"whitey[n0.5pam]"@gazeta.pl> Newsgroups: pl.comp.os.linux.sieci Subject: Re: dhcpd3 i iptables Date: Mon, 17 Dec 2007 17:32:41 +0000 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 18 Message-ID: <fk6bs3$iu7$1@inews.gazeta.pl> References: <fk5sec$ove$1@achot.icm.edu.pl> NNTP-Posting-Host: 62.49.0.91 Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1197912771 19399 62.49.0.91 (17 Dec 2007 17:32:51 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Mon, 17 Dec 2007 17:32:51 +0000 (UTC) X-User: whitey In-Reply-To: <fk5sec$ove$1@achot.icm.edu.pl> User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit