You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
666 B
15 lines
666 B
4 months ago
|
ip6tables-translate -A INPUT -m rt --rt-type 0 -j DROP
|
||
|
nft add rule ip6 filter INPUT rt type 0 counter drop
|
||
|
|
||
|
ip6tables-translate -A INPUT -m rt ! --rt-len 22 -j DROP
|
||
|
nft add rule ip6 filter INPUT rt hdrlength != 22 counter drop
|
||
|
|
||
|
ip6tables-translate -A INPUT -m rt --rt-segsleft 26 -j ACCEPT
|
||
|
nft add rule ip6 filter INPUT rt seg-left 26 counter accept
|
||
|
|
||
|
ip6tables-translate -A INPUT -m rt --rt-type 0 --rt-len 22 -j DROP
|
||
|
nft add rule ip6 filter INPUT rt type 0 rt hdrlength 22 counter drop
|
||
|
|
||
|
ip6tables-translate -A INPUT -m rt --rt-type 0 --rt-len 22 ! --rt-segsleft 26 -j ACCEPT
|
||
|
nft add rule ip6 filter INPUT rt type 0 rt seg-left != 26 rt hdrlength 22 counter accept
|