From 4136cb974eb10abfe03fdeb9f52a40032cbc9b16 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Fri, 14 Jul 2017 10:09:06 +0200 Subject: added mullvad role --- roles/install_openvpn/files/mullvad-up.sh | 3 +-- setup_fastd.yml | 6 +++++- 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 -- cgit v1.2.3-54-g00ecf