Re: Port forwarding with Putty - I'm stuck



Dave <someplace@xxxxxxxxxxxxxxxx> wrote:
My broadband service, provided by my ISP (Onetel in the UK), provides me
a fixed IP address and gives me access to mail and newsgroups via the
POP, SMTP and NNTP servers at my ISP.

However, I can only use these from the fixed IP address, so I'm unable
to read mail at a WiFi hotspot for example, which I find most
inconvenient. I was hoping to get to my ISPs mail servers via a UNIX
workstation at home, so I appear to be at an IP address they accept.

I'm not exactly sure what I should be doing here, but this is what I
have done, and the results to date

I've enabled port forwarding in the sshd config file of the UNIX box.


If I log into the unix workstation (which is NAT'ed, but with a local IP
of 192.168.0.10) and run this command:

ssh -g -L 30119:news.onetel.net.uk:119 -L 30025:smtp.onetel.net:25 -L
30110:pop.onetel.net:110 -L 30080:192.168.0.1:80 192.168.0.10
I'm not sure if I understand what you want to do but if you only want to
do some local port forwarding.. you do *not* need this step above. Only
creating the tunnel from Putty for the server is enought..

[snip]

Now I think I need to tunnel those ports via ssh so I can get at them on
my laptop.
Yes.. for sure

In putty, I have set up port forwarding, and have used

Source port 30110
Destination 192.168.0.10:30110
Whitout making the tunnel in the server directly .. here you only have
to do like these local port forward for the session that connect on
192.168.0.10:
Source port: 30110
Destination: pop.onetel.net:110
+
Source port: 30025
Destination: smtp.onetel.net:25
+
Source port: 30080
Destination: 192.168.0.1:80

then if I ssh to my UNIX box whilst on my home network, and set the mail
server in Thunderbird on my laptop to be localhost on port 30110, I am
able to send mail OK. But when I am at a remote location, this does not
work, despite me changing the 192.168.0.10 to the public IP address.
The same thing here... but like someone else told you on another port..
you have to setup Thunderbird so use the smtp address "localhost" port:
30025.
Should I set up forwarding both on the UNIX box (running that command
above) and in putty on the laptop, or should Putty be able to do it all?
like I said, only with putty is enought... but using the right
destination address..


--
Martin
.



Relevant Pages

  • RE: Some technical errors
    ... If the SMTP server is not running on port 25 TCP it is not a public ... Manager - Computer Assurance Services BDO Chartered Accountants & ...
    (Security-Basics)
  • Re: SRV RRs support in Internet Explorer?
    ... The port number could be implicit (i.e. ... At any point in time, a server could fail ... can't effectively LB or backup because NSs cache the records for the TTL ... I still don't see how SRV records would help backup or LB. ...
    (microsoft.public.win2000.dns)
  • Re: Still cant connect to RWW or OWA remotely
    ... I get 'cannot find server or dns error' on both ... TCP [port number]> to open the ports. ... As for error messages when I fail to access RWW with the laptop, ... network, no connection seems possible. ...
    (microsoft.public.windows.server.sbs)
  • Re: Outlook 2003 client
    ... Items' folder from the Send/Receive group for my account, ... Send/Receive to synchronize Outlook local data with the Exchange Server, ... Port 21 enable external and internal file transfer ... Port 80 enables all nonsecure browser access, ...
    (microsoft.public.windows.server.sbs)
  • RE: SMTPS - Exchange
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... If the Exchange server is listening on other port rather ...
    (microsoft.public.windows.server.sbs)