How to bypass AllowTCPFowarding=no by installing own forwarder?

Posted by Eric B. on Server Fault See other posts from Server Fault or by Eric B.
Published on 2012-12-06T04:57:37Z Indexed on 2012/12/06 5:06 UTC
Read the original article Hit count: 446

Filed under:
|
|
|

In the man pages for sshd_config, for the AllowTCPForwarding option, it states:

AllowTcpForwarding

Specifies whether TCP forwarding is permitted. The default is “yes”. Note that disabling TCP forwarding does not improve security unless users are also denied shell access, as they can always install their own forwarders.

How do I install my own forwarder? I have a remote server in which I disabled TCPForwarding a long while ago. I would like to "enable" it for myself only, by using my own forwarder, while keeping the forwarding closed to the other users. I've looked around, but cannot seem to find the right pkgs to accomplish this.

Can anyone please elaborate?

Thanks!

Eric

© Server Fault or respective owner

Related posts about centos

Related posts about ssh