[ILUG] telnet problem
Michael Armbrecht
marmbrecht at eircom.net
Fri Mar 4 21:22:51 GMT 2005
Am Freitag, 4. März 2005 21:17 schrieb Robin Strahan:
> Hey all,
>
> I've set up port fowarding/tunneling from a machine with limited
> network access to one with unrestricted access using putty.
>
> One of the port forwards/tunnel is to a newsgroup server on port 119.
> "ssh -L 119:newsserver:119 username at remote_machine"
>
> This should allow me to connect to the news server if i direct my
> news reader to connect to port 119 on the localhost.
>
> For some reason this will only work under root login. A normal user
> login won't allow the connection. (connection refused). Under normal
> login I CAN however access another port forward on port 1080.
>
> "ssh -D 1080 username at remote_machine"
>
> So why am I prevented connecting to port 119 on localhost under a
> normal login? Anyone got any ideas?
My guess is that in order to tunnel the connection you need to open the port
as well on the localhost -- which you can only do as root, as it is a
privileged port (i.e. port number < 1000).
Michael
--
"I don't have to take this abuse from you -- I've got hundreds of
people waiting to abuse me."
-- Bill Murray, "Ghostbusters"
More information about the ILUG
mailing list