From a675756c0e698585a67ee303ee781d4009abe431 Mon Sep 17 00:00:00 2001 From: hikaricai <13061980190@163.com> Date: Fri, 1 Feb 2019 20:15:31 +0800 Subject: [PATCH] Update README.md --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b86ad94..3f46b2f 100755 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ ### Introduction ->A p2p tunnel which establish port forwarding channel for both clients for some special uses, and whitch - based on kcptun - ->Need one server with public ip and only one udp port for hole digging. +>A p2p tunnel(based on kcptun) which establishs port forwarding channel for both clients. +>Need one server with public ip and one udp port for hole digging. ### QuickStart Download a corresponding one from precompiled [Releases](https://github.com/hikaricai/p2p_tun/releases). @@ -14,13 +12,13 @@ Client_B: ./p2pclient -b ":UDP_PORT" -r "SERVER_IP:4000" -l ":10022" -t "TARGET_ ``` The above commands will establish port forwarding channel for both Client_A and Client_B as: -> Application -> **Client_A(10022/tcp) -> Client_B** -> TARGET_IP_B:(22/tcp) -> Application -> **Client_B(10022/tcp) -> Client_A** -> TARGET_IP_A:(22/tcp) +> Application1 -> **Client_A(10022/tcp) -> Client_B** -> TARGET_IP_B:(22/tcp) +> Application2 -> **Client_B(10022/tcp) -> Client_A** -> TARGET_IP_A:(22/tcp) which tunnels the original connection: -> Application -> TARGET_IP_B:(22/tcp) -> Application -> TARGET_IP_B:(22/tcp) +> Application1 -> TARGET_IP_B:(22/tcp) +> Application2 -> TARGET_IP_A:(22/tcp) ### Install from source