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] Forgot to open a pinhole ...

[ILUG] Forgot to open a pinhole ...

Gavin McCullagh gmccullagh at gmail.com
Wed Aug 29 13:51:42 IST 2007


Hi,

On Wed, 29 Aug 2007, Timothy Murphy wrote:

> I forgot to open a pinhole for IMAPS on my home server before coming over
> to Italy for a few weeks.
> 
> I can ssh into my server, and thought I would be able to run firefox on
> that machine and open a pinhole for IMAPS on the modem (which only allows
> local access).
>
> But when I run firefox on my server in Ireland
> I never see anything on my laptop in Italy.

You probably need :

	ssh -X <homemachine>

and you might need to enable ssh X forwarding in /etc/ssh/sshd_config,
restart sshd and login again.

Alternatively you could probably tunnel the traffic with something like:

	ssh -L 10443:192.168.1.1:443 <homemachine>

and then with your locally running browser go to:

	https://127.0.0.1:10443

this presumes the usual address from inside your network is
https://192.168.1.1 -- modify as necessary.

An even simpler alternative would probably be to do:

	ssh -L 10993:192.168.1.1:993 <homemachine>

and then point your laptops mail client at host 127.0.0.1 on port 10993.

> Eg could I change IMAPS on the server
> to use the same port as ssh?

Probably not if you want ssh running at the same time.

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