Re: iptables - Open all ports between 3 ips
- From: Antoine EMERIT <noway@xxxxxxxxxxx>
- Date: 01 Jun 2009 17:55:06 GMT
Gerhard Haslberger <ghaslbe@xxxxxx> écrivait
news:gu44j0$n0b$1@xxxxxxxxx:
Hi,
im searching and searching.... but..
Can someone give me a hint?
I want to open all ports between 5 IPs (5 Servers - totally different
ips) but just between them.
Is it possible to do that without create a rule for every ip to ip
pair? Something very easy or at least:
-s 1.1.1.1,2.2.2.2,3.3.3.3... --sport 1:65535
-d 1.1.1.1,2.2.2.2,3.3.3.3... --dport 1:65535
How? or any keyword-hits for google?
Thanx
Did you try the iptables 'iprange' module :
http://iptables-tutorial.frozentux.net/other/iptables.html#lbBC ?
Regards
.
- Prev by Date: Re: How to implement dhcp client and pppoe client on the same interface at same time?
- Next by Date: Re: Squid does not receive logrotate signal when start with remote software
- Previous by thread: Re: How to implement dhcp client and pppoe client on the same interface at same time?
- Next by thread: packet arrival timestamp
- Index(es):
Relevant Pages
|