Restore all rules from a file

ip rule

  • IP routing policy database management.
    More information: <https://man7.org/linux/man-pages/man8/ip-rule.8.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ip rule restore < {{path/to/ip_rules.dat}}

click the source code to copy install ip rule on any operating system with command-not-found.com