Article View: alt.pl.comp.os.linux.debian
Article #17959Re: iptables - zakres IP
From: Bartosz Feński aka fEnIo
Date: Fri, 10 Oct 2003 14:50
Date: Fri, 10 Oct 2003 14:50
22 lines
1607 bytes
1607 bytes
W artykule Marek napisał(a):
> Jak podać zakres IP np. 192.168.1.1-192.168.1.10 w następującej regule:
>
> iptables -I PREROUTING -t nat -i eth3 -p tcp --dport 80 --dst !
> 192.168.1.1 -j REDIRECT --to-port 8080
Albo:
for i in `seq 10`
do
polecenie $i;
done
Albo jest chyba jakaś łata w p-o-m, która umożliwia podawanie tego
z palca.
pozdr,
fEnIo
--
_ Bartosz Feński aka fEnIo | mailto:fenio@o2.pl | pgp:0x13fefc40
_|_|_ 32-050 Skawina - Głowackiego 3/15 - w. małopolskie - Polska
(0 0) phone:+48501608340 | ICQ:46704720 | GG:726362 | IRC:fEnIo
ooO--(_)--Ooo http://skawina.eu.org | JID:fenio@jabber.org | RLU:172001
Technical Details
Message-ID:
<slrnbodhhd.4q2.fenio@komputer.fenia.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.gazeta.pl!news.onet.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<slrn.pl.bodgeu.57f.MW@gim21.gimnazjum>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.gazeta.pl!news.onet.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Bartosz Feński aka fEnIo <fenio@o2.pl> Newsgroups: alt.pl.comp.os.linux.debian Subject: Re: iptables - zakres IP Date: Fri, 10 Oct 2003 14:50:21 +0000 (UTC) Organization: Front Wyzwolenia Krasnali Ogrodowych Lines: 22 Message-ID: <slrnbodhhd.4q2.fenio@komputer.fenia.pl> References: <slrn.pl.bodgeu.57f.MW@gim21.gimnazjum> Reply-To: fenio@o2.pl NNTP-Posting-Host: rtr.skawsoft.com.pl Mime-Version: 1.0 X-Trace: atlantis.news.tpi.pl 1065797421 120 213.25.37.67 (10 Oct 2003 14:50:21 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Fri, 10 Oct 2003 14:50:21 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit