tunnel all of my network traffic

2019-08-29  本文已影响0人  印随2018

As far as I know, sshuttle is the only program that solves my problems

Installation

pip install sshuttle

Run

sshuttle -D \
  -r root@1.2.3.4 \
  --dns \
  --exclude=192.168.0.0/24 \
  0.0.0.0/0

Test

# docker pull k8s.gcr.io/pause:3.1
3.1: Pulling from pause
67ddbfb20a22: Pull complete
Digest: sha256:f78411e19d84a252e53bff71a4407a5686c46983a2c2eeed83929b888179acea
Status: Downloaded newer image for k8s.gcr.io/pause:3.1

bingo!!

上一篇 下一篇

猜你喜欢

热点阅读