summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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