Last active
April 12, 2021 06:19
-
-
Save lwzm/b0c53a9a02ddb1f453cebef3afc452f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
nets="0.0.0.0/0" | |
nets="192.168.0.0/16 172.16.0.0/12 10.0.0.0/8" | |
while true; do | |
date | |
#sshuttle --dns -r hk $nets | |
#echo enable dns | |
sshuttle --dns -r k8s $nets | |
#sshuttle --dns -r avl $nets | |
#sshuttle --dns -r sshd.tyio.net $nets | |
sleep 1 | |
#echo disable dns | |
#sshuttle -r avl $nets | |
#sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment