[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