From: pedro noticioso <cucnews@yahoo.com>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: is it possible to mix iprange and multiport modules?
Date: Sun, 19 Oct 2008 21:04:16 -0700 (PDT) [thread overview]
Message-ID: <219949.10508.qm@web110412.mail.gq1.yahoo.com> (raw)
In-Reply-To: <48F8CF4F.3010704@riverviewtech.net>
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!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
next prev parent reply other threads:[~2008-10-20 4:04 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 ` pedro noticioso [this message]
2008-10-20 8:07 ` is it possible to mix iprange and multiport modules? Amos Jeffries
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=219949.10508.qm@web110412.mail.gq1.yahoo.com \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox