summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-14 10:09:06 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-14 10:09:06 +0200
commit4136cb974eb10abfe03fdeb9f52a40032cbc9b16 (patch)
tree2a520f0dd2ec300061abf50b85041385b778e46e
parent2e5b3ff179ac8487a4b37d47792b079ac9855fa8 (diff)
added mullvad role
-rwxr-xr-xroles/install_openvpn/files/mullvad-up.sh3
-rw-r--r--setup_fastd.yml6
2 files changed, 6 insertions, 3 deletions
diff --git a/roles/install_openvpn/files/mullvad-up.sh b/roles/install_openvpn/files/mullvad-up.sh
index c3e3193..75a9632 100755
--- a/roles/install_openvpn/files/mullvad-up.sh
+++ b/roles/install_openvpn/files/mullvad-up.sh
@@ -2,7 +2,6 @@
#/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
+ip route replace 0.0.0.0/0 via $route_vpn_gateway proto static table ffmyk
exit 0
diff --git a/setup_fastd.yml b/setup_fastd.yml
index 163fe60..1ddbb54 100644
--- a/setup_fastd.yml
+++ b/setup_fastd.yml
@@ -23,6 +23,10 @@
- install_wireguard_backbone
- install_babeld
- install_fastd
- #- install_openvpn
#- install_monitoring
- install_admin_packages
+- name: install openvpn uplink
+ hosts: mullvad_fastds
+ user: root
+ roles:
+ - install_openvpn