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

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