NetBSD/tests/ipf/regress/in6

9 lines
478 B
Plaintext

map foo0 from any port = 1 to any port != 0 -> 0/32 udp
map foo0 from any port eq 1 to any port ne 0 -> 0/32 udp
map foo0 from any port < 1 to any port > 0 -> 0/32 tcp
map foo0 from any port lt 1 to any port gt 0 -> 0/32 tcp
map foo0 from any port <= 1 to any port >= 0 -> 0/32 tcp/udp
map foo0 from any port le 1 to any port ge 0 -> 0/32 tcp/udp
map foo0 from any port 1 >< 20 to any port 20 <> 40 -> 0/32 tcp/udp
map foo0 from any port 10:20 to any port 30:40 -> 0/32 tcp/udp