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.
12 lines
460 B
12 lines
460 B
4 months ago
|
iptables-translate -A PREROUTING -m realm --realm 4
|
||
|
nft add rule ip filter PREROUTING rtclassid 0x4 counter
|
||
|
|
||
|
iptables-translate -A PREROUTING -m realm --realm 5/5
|
||
|
nft add rule ip filter PREROUTING rtclassid and 0x5 == 0x5 counter
|
||
|
|
||
|
iptables-translate -A PREROUTING -m realm ! --realm 50
|
||
|
nft add rule ip filter PREROUTING rtclassid != 0x32 counter
|
||
|
|
||
|
iptables-translate -A INPUT -m realm --realm 1/0xf
|
||
|
nft add rule ip filter INPUT rtclassid and 0xf == 0x1 counter
|