Restrict a client port-forward to 1 port

Ben Lindstrom mouring at eviladmin.org
Thu Aug 13 07:27:20 EST 2009


You can use a "Match" rule and limit the ports by using  
"PermitOpen".   However this is per-user and not per machine/ 
location.  So it depends on what you want.

- Ben

On Aug 12, 2009, at 11:23 AM, Adriana Rodean wrote:

> Hi,
>
> Is it possible to restrict a client port-forwarding to one port?
> For example i want client X to open only port 1037 on server through
> port-forwarding, client Y only port 1038 and so on...
> How can this be possible?
> I use private/public keys authentication.
> Client version is openssh3.8p1, is windows client, and server version
> is latest openssh on a linux machine.
>
> Can anyone help please?
>
> Thank you so much,
> Adriana
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



More information about the openssh-unix-dev mailing list