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
253 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/0 via $route_vpn_gateway proto static table ffmyk
#ip -6 route replace default dev $dev proto static table ffmyk
exit 0