10 lines
191 B
Bash
Executable File
10 lines
191 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [[ "$(id -u)" != "0" ]]; then
|
|
echo "You must be root"
|
|
exit 1
|
|
fi
|
|
|
|
ip route del default via 172.17.132.1 dev enp3s0
|
|
ip route add 172.17.0.0/24 via 172.17.132.1 dev enp3s0
|