You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ffmyk-ansible/roles/install_openvpn/files/mullvad-up.sh

9 lines
193 B
Bash

#!/bin/bash
#/sbin/ip route replace default via $4 table ffmyk
sleep 3
echo Reroute via $4
ip route replace 0.0.0.0/1 via $4 table ffmyk
ip route replace 128.0.0.0/1 via $4 table ffmyk
exit 0