From: Amos Jeffries <squid3@treenet.co.nz>
To: cucnews@yahoo.com
Cc: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: is it possible to mix iprange and multiport modules?
Date: Mon, 20 Oct 2008 21:07:37 +1300 [thread overview]
Message-ID: <48FC3C49.7010207@treenet.co.nz> (raw)
In-Reply-To: <219949.10508.qm@web110412.mail.gq1.yahoo.com>
pedro noticioso wrote:
> Hi there friends!
>
> I am managing a 15 node vpn network with well over 500 pcs scattered all over, so I am looking for creative ways to simplify and better control my traffic while replacing the old IT guys 1600 line-and-10 seconds to load firewall script, so I tried a trick that did not seem to actually work:
>
> /sbin/iptables -A INPUT -p tcp \
> -m multiport --source-port 22,53,80,110,443,2525 \
> -m iprange --src-range 192.168.19.25-192.168.19.100 \
> -j ACCEPT
>
> So, am I just dreaming here, or is there a nice trick out there to achieve my goal in an elegant manner?
>
> thanks a lot!
>
I'll point you the way of 'ferm'. An iptables utility uses the
iptables-restore interface for maximum speed on load. With a nice simply
config file syntax to easily handle fast reload of some complex
settings. Including methods of doing iterator loops, macro expansion,
and such if needed.
http://ferm.foo-projects.org/
NP: My bias here is that of a happy customer.
AYJ
next prev parent reply other threads:[~2008-10-20 8:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 20:32 Transfer ipv6 packages over ipv4 iptables gateway to ipv4 ISP's network Elvir Kuric
2008-10-15 20:45 ` Grant Taylor
2008-10-15 20:58 ` Elvir Kuric
2008-10-15 21:23 ` Amos Jeffries
2008-10-16 6:07 ` Elvir Kuric
2008-10-16 7:16 ` Petr Pisar
2008-10-17 17:45 ` Grant Taylor
2008-10-19 15:41 ` Elvir Kuric
2008-10-20 4:04 ` is it possible to mix iprange and multiport modules? pedro noticioso
2008-10-20 8:07 ` Amos Jeffries [this message]
2008-10-21 6:12 ` Michal Soltys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48FC3C49.7010207@treenet.co.nz \
--to=squid3@treenet.co.nz \
--cc=cucnews@yahoo.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.