route

Use route cmd to set the route table. More information: <https://manned.org/route>.

Install

All systems
curl cmd.cat/route.sh
Debian Debian
apt-get install net-tools
Ubuntu
apt-get install net-tools
Alpine
apk add net-tools
Arch Arch Linux
pacman -S net-tools
image/svg+xml Kali Linux
apt-get install net-tools
CentOS
yum install net-tools
Fedora
dnf install net-tools
Windows (WSL2)
sudo apt-get update sudo apt-get install net-tools
Raspbian
apt-get install net-tools
Docker
docker run cmd.cat/route route powered by Commando

Use route cmd to set the route table. More information: <https://manned.org/route>.

  • Display the information of route table:
    route -n
  • Add route rule:
    sudo route add -net ip_address netmask netmask_address gw gw_address
  • Delete route rule:
    sudo route del -net ip_address netmask netmask_address dev gw_address

© tl;dr; authors and contributors