Restrict port forwarding on server

Adriana Rodean adrya1984 at gmail.com
Fri Jun 12 16:32:25 EST 2009


Hi,

Is there a way to restrict port forwarding on the server?
I want only port 8080 on the server to be available to clients.

Example when i give this command clients should be able to connect:
ssh -L 30300:localhost:8080 ....
When i give this for example clients should not be able to connect:
ssh -L 30300:localhost:4040 ....

I tried this option in config file of server:
PermitOpen localhost:8080
but even with it i could still connect to 4040 for example

Thanks,
Adriana


More information about the openssh-unix-dev mailing list