blob: 12c1aa960a66dc5b4eca81636eb1b2239f8305aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
table inet testifsets {
set simple {
type ifname
elements = { "abcdef0",
"abcdef1",
"othername" }
}
set simple_wild {
type ifname
flags interval
elements = { "abcdef*",
"othername",
"ppp0" }
}
chain v4icmp {
iifname @simple counter packets 0 bytes 0
iifname @simple_wild counter packets 0 bytes 0
iifname { "eth0", "abcdef0" } counter packets 0 bytes 0
iifname { "abcdef*", "eth0" } counter packets 0 bytes 0
}
chain input {
type filter hook input priority filter; policy accept;
ip protocol icmp goto v4icmp
}
}
|