summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/maps/dumps/0011vmap_0.nft
blob: 4a72b5e7ea3866e2053b4b235879ecc540bae350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
table inet filter {
	map portmap {
		type inet_service : verdict
		counter
		elements = { 22 counter packets 0 bytes 0 : jump ssh_input, * counter packets 0 bytes 0 : drop }
	}

	chain ssh_input {
	}

	chain wan_input {
		tcp dport vmap @portmap
	}

	chain prerouting {
		type filter hook prerouting priority raw; policy accept;
		iif vmap { "lo" : jump wan_input }
	}
}