0.0.5 • Published 4 years ago
@shopee-data/tunnel v0.0.5
Configure Your Host
!Note: Make sure that you have permission to access to the following jump hosts
Append the jumphost aliases into /etc/hosts
103.115.76.108 shopee-jump-host00
103.115.76.123 shopee-jump-host01
Configure SSH Config
Add the shopee-de-jump
host into ~/.ssh/config
Host shopee-de-jump
HostName shopee-jump-host00
# !NOTE change `yaguang.liu` to your jumphost username.
# jumphost username, not localhost username
User yaguang.liu
IdentityFile ~/.ssh/id_rsa
Run
npm install @shopee-data/tunnel -g
shopee-tunnel -p `pwd`/config/proxy.js