summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_cpu.txlate
blob: c59b0e02cba5cd7c93c51b28320267ef5e8773a4 (plain)
1
2
3
4
5
iptables-translate -A INPUT -p tcp --dport 80 -m cpu --cpu 0 -j ACCEPT
nft add rule ip filter INPUT tcp dport 80 cpu 0 counter accept

iptables-translate -A INPUT -p tcp --dport 80 -m cpu ! --cpu 1 -j ACCEPT
nft add rule ip filter INPUT tcp dport 80 cpu != 1 counter accept