<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=710293202-06042006>Hi Phil,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=710293202-06042006><FONT face=Arial
color=#0000ff size=2>Server2 (pop3) doesn't offer SSH, therefore the last hop on
the link has to be un-encrypted.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=710293202-06042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=710293202-06042006><FONT face=Arial
color=#0000ff size=2>I figure I could do something with netcat... I'll keep
playing with it...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=710293202-06042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=710293202-06042006><FONT face=Arial
color=#0000ff size=2>Mike.</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> plug-bounces@plug.org.au
[mailto:plug-bounces@plug.org.au] <B>On Behalf Of </B>Bennett,
Phillip<BR><B>Sent:</B> Thursday, April 06, 2006 10:11 AM<BR><B>To:</B>
plug@plug.org.au<BR><B>Subject:</B> RE: [plug] SSH Tunnel<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2>Is there a reason you don't want to use putty from the XP
box straight to server2 (pop3)?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2>What you can do is set up a tunnel in putt as follows:
Local Port: 9999 Remote Port: mail.somewhere.net:110</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2>This should work AFAIK. It will encrypt the link
between you and server1 and make it look like the traffic to mail.somewhere.net
is originating from server1. Is this what yuo are looking
for?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2>hth,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2>Phil.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=551220802-06042006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> plug-bounces@plug.org.au
[mailto:plug-bounces@plug.org.au] <B>On Behalf Of </B>Michael L.
Benjamin<BR><B>Sent:</B> Thursday, 6 April 2006 10:01<BR><B>To:</B>
plug@plug.org.au<BR><B>Subject:</B> [plug] SSH Tunnel<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>I'm attempting to
setup an SSH tunnel without too much success.</FONT></SPAN></DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>What I want to be
able to do is SSH tunnel from an XP machine to a Linux box, then from there
access a remote Linux mail machine running POP3.</FONT></SPAN></DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>Then I'd setup a
PuTTY session with the local port forwarding so that I can connect a POP3 mail
client to localhost on a port that would connect via the SSH
tunnel</FONT></SPAN></DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>to the first remote
server.</FONT></SPAN></DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>So, say connect to
localhost:9999 which connects to server1:9998 which in turn connects to
mail.somewhere.net:110 </FONT></SPAN></DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>Can anyone suggest a
good way of doing this? Is it feasible, and do I need to use a combination of
SSH and netcat?</FONT></SPAN></DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=321285601-06042006><FONT face=Arial size=2>The final link is
not encrypted sadly, but I want everything else to be SSH2 from there on
back to my desktop machine.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2></FONT><BR></DIV>
<DIV align=left>
<TABLE cellPadding=0 align=left border=0>
<TBODY>
<TR>
<TD><IMG hspace=0 src="cid:710293202@06042006-2AD8" cellpadding="0"></IMG>
<TD><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt"><B>Mike
Benjamin</B></SPAN><BR><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-size: 10.0pt">Network
Engineer</SPAN>
<TABLE cellPadding=0 border=0>
<TBODY>
<TR>
<TD> </TD>
<TD> </TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>Mobile </B></SPAN></TD>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>:</B>
+61-422-645-217</SPAN></TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>Email
</B></SPAN></TD>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>:</B>
mike.benjamin@clarinet.com.au</SPAN></TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>Sales
</B></SPAN></TD>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>:</B>
1 300 786 682</SPAN></TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>Support
</B></SPAN></TD>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>:</B>
1 300 736 172</SPAN></TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>Fax
</B></SPAN></TD>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>:</B>
+61-86263-0455</SPAN></TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>Address
</B></SPAN></TD>
<TD><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-bidi-font-size: 9.0pt"><B>:</B>
Level 3, 28 Kings Park Rd. West Perth WA. 6005.</SPAN></TD>
<TR>
<TD> </TD>
<TD> </TD>
<TR></TR></TBODY></TABLE>
<TABLE>
<TBODY>
<TR>
<TD><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-size: 8.0pt"><I>This
message is intended for the use of the recipient only.</I></SPAN></TD>
<TR>
<TD><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-size: 8.0pt"><I>Any
unauthorised use of this message or its contents is
prohibited.</I></SPAN></TD>
<TR></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<DIV align=left><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR></DIV>
<DIV> </DIV></BODY></HTML>