Re: iptables - Open all ports between 3 ips



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
.



Relevant Pages

  • Re: [fw-wiz] detecting multihomed host
    ... see one MAC address in traffic for all of the 20 IPs. ... Another hint would be that putting load on one IP ... produces noticeable slowness of other servers. ... there might be identifiable details left in the services you run. ...
    (Firewall-Wizards)
  • Re: Float to String
    ... the sprintf() hint was all that I needed ... after searching about that I found out that asprintf() is much ...
    (comp.lang.c)
  • ISA 2000 on SBS2003
    ... In the eventlog i get error 20002. ... Searching the usenet i found the hint there could be a problem with socket ...
    (microsoft.public.windows.server.sbs)
  • Re: Does the Nvidia "Nforce3 Ultra 250 pro" chipset work with FreeBSD AMD64 ?
    ... > Nvidias web only has Nforce3 drivers for ms-windows and linux. ... Did you try http://groups.google.com/ and then searching this list's ... (Hint, if you had you'd have found the answer you're looking for) ...
    (comp.unix.bsd.freebsd.misc)
  • Where to download the emulator
    ... I#m searching for the windows 2003 emulator. ... Can anyone give me a hint where to find a download? ...
    (microsoft.public.pocketpc.developer)