• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1iptables-translate -t filter -A INPUT -m cgroup --cgroup 0 -j ACCEPT
2nft add rule ip filter INPUT meta cgroup 0 counter accept
3
4iptables-translate -t filter -A INPUT -m cgroup ! --cgroup 0 -j ACCEPT
5nft add rule ip filter INPUT meta cgroup != 0 counter accept
6