• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1iptables-translate -t mangle -A PREROUTING -m rpfilter
2nft add rule ip mangle PREROUTING fib saddr . iif oif != 0 counter
3
4iptables-translate -t mangle -A PREROUTING -m rpfilter --validmark --loose
5nft add rule ip mangle PREROUTING fib saddr . mark oif != 0 counter
6
7ip6tables-translate -t mangle -A PREROUTING -m rpfilter --validmark --invert
8nft add rule ip6 mangle PREROUTING fib saddr . mark . iif oif 0 counter
9