genotrance / px

An HTTP proxy server to automatically authenticate through an NTLM proxy
MIT License
937 stars 99 forks source link

[Feature Request] Mapping local ports to remote machine ports like CNTLM #21

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello,

I would like to request the same feature as the one described in the cntlm.ini file of CNTLM :


Tunnels mapping local port to a machine behind the proxy. The format is :: Tunnel 7777:machine.foobar.net:443


I'm heavily using this feature and it would be great to have it on px.

Any advice on that matter would be much appreciated.

Cheers.

genotrance commented 6 years ago

This seems feasible but a big lift, I'll take a look as soon as I get a chance. Ideally, we can pull this off with minimal changes.

genotrance commented 6 years ago

I'm curious - do you use this feature to allow HTTP(s) clients which don't have proxy support built-in thru the NTLM proxy?

E.g. 3128:google.com:80 curl http://localhost/ => google.com

Or do you use it for non-HTTP clients like SSH?

ghost commented 6 years ago

Hello,

I use this feature for non-HTTP clients like SSH.

Thank you for your feedback.

Regards,

Nicolas.

vincentkoc commented 5 years ago

Hello, I use this feature for non-HTTP clients like SSH. Thank you for your feedback. Regards, Nicolas.

@Nh3xus you could try something like corkscrew with px for SSH https://github.com/bryanpkc/corkscrew but no idea what OS you are using px on