ifmetric

An IPv4 route metrics manipulation tool. More information: <https://0pointer.de/lennart/projects/ifmetric/>.

Install

All systems
curl cmd.cat/ifmetric.sh
Debian Debian
apt-get install ifmetric
Ubuntu
apt-get install ifmetric
image/svg+xml Kali Linux
apt-get install ifmetric
Windows (WSL2)
sudo apt-get update sudo apt-get install ifmetric
Raspbian
apt-get install ifmetric

An IPv4 route metrics manipulation tool. More information: <https://0pointer.de/lennart/projects/ifmetric/>.

  • Set the priority of the specified network interface (a higher number indicates lower priority):
    sudo ifmetric interface value
  • Reset the priority of the specified network interface:
    sudo ifmetric interface 0

© tl;dr; authors and contributors