summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/numgen.t
blob: 9ce0c7147d0a75875f03a384fa85a68d3e1f61d1 (plain)
1
2
3
4
5
6
:pre;type nat hook prerouting priority 0
*ip;test-ip4;pre

ct mark set numgen inc mod 2;ok
dnat to numgen inc mod 2 map { 0 : 192.168.10.100, 1 : 192.168.20.200 };ok
dnat to numgen inc mod 10 map { 0-5 : 192.168.10.100, 6-9 : 192.168.20.200};ok