Proxy via Telnet

Posted by Vreality2007 on Server Fault See other posts from Server Fault or by Vreality2007
Published on 2012-09-18T02:20:53Z Indexed on 2012/09/18 3:40 UTC
Read the original article Hit count: 513

Filed under:
|
|
|

I know telnet is insecure and all, but I'm stuck using it because ssh is blocked. I know how to setup ssh to bind the connection to a local port, is there a way to do this with telnet? For example, if I am using an ssh connection, I would bind it to port 999 like this:

ssh -D 999 [email protected] -N -C

I've tried using the -b command in linux, but to no avail. Is this even possible? This is what I've tried:

telnet host.com -b 999

I'm sorry if the answer is obvious, but I've done a lot of research and testing and I can't seem to figure this out. NOTE: I plan on telling the admin if I can find a way to get this to work, this is based off of simple curiosity and not malicious intent.

If I can't bind a telnet port, is there a way to tunnel an ssh connection through telnet?

© Server Fault or respective owner

Related posts about proxy

Related posts about port