LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] telnet problem

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell