python-proxy icon indicating copy to clipboard operation
python-proxy copied to clipboard

problem with command

Open kunger97 opened this issue 4 years ago • 2 comments

In this scene PublicPort(server2) ---via WS+TLS tunnel---> privatePort(server1) (i want server1's private port can be access publicly on server2's public port)

I tried use this command on server1 pproxy -l ws+ssl://:2083 -r tunnel://127.0.0.1:2053 --ssl somecert.pem,somekey.key

and this command on server2

pproxy -l tunnel://:33206 -r ws+ssl://server1:2083

that not working, i may use wrong protocols or command please give me some help.

kunger97 avatar Jun 03 '21 03:06 kunger97

Try this:

server1 pproxy -l ws+ssl://:2083 --ssl somecert.pem,somekey.key

server2 pproxy -l tunnel{127.0.0.1:2053}://:33206 -r ws+ssl://server1:2083

Jonney avatar Jun 08 '21 15:06 Jonney

it shows Unknown remote protocol from server1's IP on server 2 and shows Unsupported protocol from server2‘s ip on server1

kunger97 avatar Jun 09 '21 03:06 kunger97