@shopee-data/tunnel

!Note: Make sure that you have permission to access to the following jump hosts

Usage no npm install needed!

<script type="module">
  import shopeeDataTunnel from 'https://cdn.skypack.dev/@shopee-data/tunnel';
</script>

README

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