summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_mh.txlate
blob: 825c956905c22c95677a9ff0c6d135e8b429cf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ip6tables-translate -A INPUT -p mh --mh-type 1 -j ACCEPT
nft 'add rule ip6 filter INPUT meta l4proto mobility-header mh type 1 counter accept'

ip6tables-translate -A INPUT -p mh --mh-type 1:3 -j ACCEPT
nft 'add rule ip6 filter INPUT meta l4proto mobility-header mh type 1-3 counter accept'

ip6tables-translate -A INPUT -p mh --mh-type 0:255 -j ACCEPT
nft 'add rule ip6 filter INPUT meta l4proto mobility-header counter accept'

ip6tables-translate -A INPUT -m mh --mh-type 0:255 -j ACCEPT
nft 'add rule ip6 filter INPUT counter accept'

ip6tables-translate -A INPUT -p mh ! --mh-type 0:255 -j ACCEPT
nft 'add rule ip6 filter INPUT meta l4proto mobility-header counter accept'