Skip to content

Commit 2bfd90a

Browse files
committed
Add ip6tables rule operation test.
1 parent 0e96d8e commit 2bfd90a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"args": ["PREROUTING", "OUTPUT"],
3+
"kwargs": {
4+
"version": 6,
5+
"table": "nat",
6+
"protocol": "tcp",
7+
"source": "0.0.0.0"
8+
},
9+
"facts": {
10+
"iptables.Ip6tablesRules": {
11+
"table=nat": []
12+
}
13+
},
14+
"commands": [
15+
"ip6tables -t nat -A PREROUTING -p tcp -s 0.0.0.0 -j OUTPUT"
16+
]
17+
}

0 commit comments

Comments
 (0)