You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
169 B

  1. #!/bin/bash
  2. #
  3. echo Routing all traffic to web server through tun..
  4. #up route add -net 192.168.0.0/16 gw 192.168.2.254 dev enp0s8
  5. sudo ip route add 192.168.3.2 dev tun0