Re: Port forwarding and access restriction
- From: Derek Martin <code@xxxxxxxxxxxxxx>
- Date: Tue, 2 Feb 2010 16:20:26 -0600
On Mon, Feb 01, 2010 at 08:10:36PM +0000, Michael Goffioul wrote:
Now the user uses a VNC client to connect to A:36725. What I'd like
to know is whether I can impose access restriction on A:36725, for
instance by limiting the number of accepted connections.
As someone else already mentioned, you can't do this with OpenSSH.
You can, however, do it with some sort of firewall software. They
posted instructions for using Linux's kernel-based firewall software;
if you're not using Linux, there should be a similar thing available
for your OS (though if it's a commercial OS, you will likely need
commercial software).
In your answer, you mention settings in sshd_config. These are for
the SSH daemon, right?
Yes, sshd_config controls the ssh daemon.
Do these also apply to the SSH client that is doing port forwarding?
No; or more exactly, only to the extent that the SSH server exerts
control over connecting clients (but generally no).
--
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D
Attachment:
pgpKzVwKN2VTY.pgp
Description: PGP signature
- References:
- Re: Port forwarding and access restriction
- From: Michael Goffioul
- Re: Port forwarding and access restriction
- Prev by Date: openssh-5.3p1 chroot selinux error on CentOS-5.4
- Next by Date: RE: Compiling openssh-5.3p1 with openssl 0.9.8k fails
- Previous by thread: Re: Port forwarding and access restriction
- Next by thread: openssh-5.3p1 chroot selinux error on CentOS-5.4
- Index(es):