From e20cecfe3b7fa504f6a5ca4326f0fa7180a7c8e0 Mon Sep 17 00:00:00 2001 From: Vasantha kumar Date: Wed, 14 Aug 2024 06:42:17 +0530 Subject: [PATCH] Readme: Update port forwarding support for any network apps --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4f343a9..0c81690 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,11 @@ Now you can see the proxy setting of your browser to 127.0.0.1:8080. All the req ## Security Above steps will make the proxy server exposed to the p2p network. To allow the proxy server to be accessed by only known peers. You can add the second machine peer id to the accepted peer list. Here is the command to be run in first machine to accept only from selected peers: +``` > ./portforward -a This host proxy server accessible over internet using peer ID ``` + +## Portforwarding for any network apps +This application enables port forwarding for local socket applications to remote machines, functioning similarly to SSH port forwarding. However, instead of using SSH, it establishes connections over a secure channel provided by libp2p. Just replace the local and remote ports matching to your application.