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] DMZ

[ILUG] DMZ

Gavin McCullagh gmccullagh at gmail.com
Wed Nov 24 16:48:34 GMT 2010


Hi,

On Wed, 24 Nov 2010, Brendan Halpin wrote:

> On Wed, Nov 24 2010, Gavin McCullagh wrote:
> 
> > 	B#  ssh -R 22:localhost:10022 -R 445:localhost:10445  A
> 
> Does that have to be root to root? I have remote root login disabled.

The only reason you need root (at either end) is to listen on a reserved
port (port < 1024).  In the above case, the listening is done on port 10022
and 10445 so that's not an issue.  Forwarding packets out to port 22 and
445 doesn't need root.  The listening is done at A, so that would be the
end you would need root if you were to use reserved ports.

> > It might be tidier to look at the ssh-based VPN (see the ssh man page)
> > which will create a little VPN between the two over SSH.  
> 
> That has promise. 

But will need root at both ends, I'm pretty sure as you have to set up Tun
interfaces.

Gavin



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