vpn_route.sh 395 B

12345678910111213
  1. #!/bin/bash
  2. ip route del default dev tun0
  3. ip route add 10.0.0.0/8 dev tun0
  4. ip route add 172.20.0.0/16 dev tun0
  5. ip route add 24.232.0.0/16 dev tun0
  6. ip route add 192.168.185.0/24 dev tun0
  7. ip route add 192.168.5.0/24 dev tun0
  8. ip route add 200.61.204.6 dev tun0
  9. ip route add 181.30.128.27 dev tun0
  10. echo 'nameserver 24.232.0.33' >> /etc/resolv.conf
  11. echo 'nameserver 24.232.0.34' >> /etc/resolv.conf