Browse Source

add shuttle

master
Markus Bergholz 2 years ago
parent
commit
47bddfa9d6
  1. 13
      til.md

13
til.md

@ -640,3 +640,16 @@ Host git.osuv.de
ProxyCommand ssh -q -W %h:%p osuv
```
# sshuttle
all traffic through sshuttle
`sudo sshuttle --dns -r m@h.osuv.de:22 0/0 -x h.osuv.de`
only subnet through shuttle
`sudo sshuttle -r m@h.osuvd.de 192.168.178.0/24 -x h.osuv.de`
`specify ssh key
`sudo sshuttle --dns -r m@h.osuv.de:22 0/0 -x h.osuv.de --ssh-cmd 'ssh -i /your/key/path.pem'`x
Loading…
Cancel
Save