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"
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!