all repos — dotfiles @ 4cbb4ea2a837de9f9a535fcedfb369d81db55bbb

my *nix dotfiles

Remove duplicate routes from OpenVPN script

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Sat, 23 Feb 2019 17:47:09 +0530
commit

4cbb4ea2a837de9f9a535fcedfb369d81db55bbb

parent

e71a6f83efcadb5cd7778937daccd90e7b3194d9

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M bin/redirectgateway-def1-socks.shbin/redirectgateway-def1-socks.sh

@@ -1,9 +1,9 @@

#!/usr/bin/env bash if [ "$script_type" == "up" ]; then - route add -host $remote_1/32 gw $route_net_gateway - route add -net 0.0.0.0/1 gw $route_vpn_gateway - route add -net 128.0.0.0/1 gw $route_vpn_gateway + #route add -host $remote_1/32 gw $route_net_gateway + #route add -net 0.0.0.0/1 gw $route_vpn_gateway + #route add -net 128.0.0.0/1 gw $route_vpn_gateway /etc/openvpn/update-resolv-conf elif [ "$script_type" == "down" ]; then /etc/openvpn/update-resolv-conf