From b9d328dbd0a0c698f6377f27569ebf1ca3589e6c Mon Sep 17 00:00:00 2001 From: Benyamin <43001019+benyamin218118@users.noreply.github.com> Date: Tue, 7 Mar 2023 20:01:49 +0330 Subject: [PATCH 1/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b32b87b..cf1c01b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # tcp forwarder -its a simple tcp forwarding tool +its a simple tcp forwarding tool to forward incoming tcp connections to a remote service at a remote host + +`you can use a domain as the remote host too.` ## Download and usage : ``` From 559361833dd4c07ca404e3327a17246db65ef1ac Mon Sep 17 00:00:00 2001 From: Benyamin <43001019+benyamin218118@users.noreply.github.com> Date: Wed, 8 Mar 2023 20:24:26 +0330 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index cf1c01b..a88d1ab 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ its a simple tcp forwarding tool to forward incoming tcp connections to a remote service at a remote host -`you can use a domain as the remote host too.` - ## Download and usage : ``` wget https://github.com/benyamin218118/tcpforwarder/raw/main/tcpforwarder @@ -16,7 +14,7 @@ chmod +x ./tcpforwarder **we want to forward incoming tcp connections from our ir vps to a service running on port 9090 on a usa vps** - first we need to choose a listen port for the ir vps like 8080 ( we will accept the incoming tcp connections on it ) -- our usa vps ip address is 44.55.66.77 and that service port is 9090 as mentioned before +- our usa vps ip address is 44.55.66.77 and that service port is 9090 as mentioned before ( `you can use domain address instead of the ip too` ) - so we need to replace the variables in `./tcpforwarder -lPort LISTEN_PORT -rHost REMOTE_SERVER_HOST -rPort REMOTE_SERVER_PORT` and run it on the ir vps: > ./tcpforwarder -lPort 8080 -rHost 44.55.66.77 -rPort 9090