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
241 B
Bash

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