path: root/
diff options
authorMichael Granzow <>2009-04-09 18:24:36 +0100
committerJan Engelhardt <>2009-06-26 21:13:06 +0200
commit332e4acc574e3a348fe611d55bf642de0d50fbda (patch)
treeef8f4188c26905ca0bffde5b77eac6614b5bfc83 /
parentf9bf812aed50949db584cdf93752193c802fefcb (diff)
iptables: accept multiple IP address specifications for -s, -d
libiptc already supports adding and deleting multiple rules with different addresses, so it only needs to be wired up to the options. # ip6tables -I INPUT -s 2001:db8::d,2001:db8::e -j DROP References: Adjustments made: syntax, removal of unneeded variables, manpage adjustment, soversion bump. Signed-off-by: Jan Engelhardt <>
Diffstat (limited to '')
1 files changed, 3 insertions, 0 deletions
diff --git a/ b/
index a31887e8..8037dc7d 100644
--- a/
+++ b/
@@ -248,6 +248,9 @@ specifying the number of 1's at the left side of the network mask.
A "!" argument before the address specification inverts the sense of
the address. The flag \fB\-\-src\fP
is an alias for this option.
+Multiple addresses can be specified, but this will \fBexpand to multiple
+rules\fP (when adding with \-A), or will cause multiple rules to be
+deleted (with \-D).
[\fB!\fP] \fB\-d\fP, \fB\-\-destination\fP \fIaddress\fP[\fB/\fP\fImask\fP]
Destination specification.