Skip to content

Instantly share code, notes, and snippets.

@TheWaWaR
Created July 18, 2018 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheWaWaR/7a6a7b1fa2785e8ef06e8e754240a5e0 to your computer and use it in GitHub Desktop.
Save TheWaWaR/7a6a7b1fa2785e8ef06e8e754240a5e0 to your computer and use it in GitHub Desktop.
p2p NAT 穿透测试
git clone https://github.com/ustulation/p2p.git
cd p2p
RUST_LOG=p2p=trace cargo run --example tcp_rendezvous_connect -- --relay=104.238.181.214:20445 --traversal-server=104.238.181.214:20444 --traversal-server-key='{"sign":[38,31,210,213,23,70,235,152,27,52,173,110,168,154,2,231,79,98,56,132,188,50,18,23,133,239,161,29,151,53,9,242],"encrypt":[46,187,107,223,180,184,89,175,25,132,66,215,35,80,48,201,22,163,10,236,226,125,210,228,238,209,140,29,182,108,45,82]}' this-is-20445
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment