summaryrefslogtreecommitdiff
path: root/roles/install_openvpn/files/mullvad-up.sh
blob: c3e3193bf78f090214215c2e61a569841f0e5b0f (plain)
1
2
3
4
5
6
7
8
#!/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