[IWE] UPDATE

Bill Patient iwe@warhead.org.uk
Fri, 9 Feb 2007 00:27:06 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C74BE1.07904A50
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Not really. Check inline responses.

 

  _____  

From: iwe-admin@warhead.org.uk [mailto:iwe-admin@warhead.org.uk] On Behalf
Of Jay Burns IV
Sent: Thursday, February 08, 2007 10:24 PM
To: iwe@warhead.org.uk
Subject: Re: [IWE] UPDATE

 

BeeP-

Thanks for the info, in practically idiot-proof terms (since I am a
practical idiot, I need such  hand-holding).  I'll give ti a try, and let
you know how it comes out.

 

It took me a while to figure it out. Don't worry.



Let me make sure I have one thing straight:  By "broadcasting on 5801", my
work machine will basically try to scan anybody it can get to who responds
to 58xx (where xx is the target vnc "port").  

 

No.what I mean here is your home machine is "broadcasting" on 5801.meaning
it is waiting for a connection to that port and when connected will send the
vnc traffic via that port. 

 

 

 

So by using the magic incantation via SSH, I've made port 5801 tunnel to
5802 on my home machine.  Have I got that right?

 

Numbers are backwards.but the idea is correct. With SSH, you are "tunneling"
the 5801 port on your home network to the equivalent of port 5802 on the
local machine. So when you start vnc (which looks for connections on the
580x series of ports, x denoting the display number) you look for
localhost:2 (display 2.which is really display 1 on your home machine). Try
not to think to hard about it. But..if you want to run 2 separate
displays.you can do that by starting another vnc server session (which will
be display 2 or port 5802.and forward that to 5803 on the work
machine.lather rinse repeat).



Still need to find the <yourservernameorIPgoeshere> thingie.  I assume that
that is the IP address that the Surfboard has on the cable; it is the public
address for my internet connection.  All I have to do is figure out how to
get it to ante that up...and figure out a way to keep its leas for
like...forever.... ;-)

 

You assume correctly. And most all cable connections to a router are
essentially fixed IP addresses. I have bepatient.net assigned to mine and
haven't had to change nameservers in 2 years.

Really, thanks for the help...I might actually be able to figure this out.
if it works, it may also allow me to VNC to my Mom's machine in FL (behind
an Earthlink DSL modem...).

 

It is the same process and it is very secure. You may want to read some of
the literature on vncserver command about starting the x environment and
learn to use a lightweight window manager and very bland colors. I use xfce
for my vnc sessions (and damn near everything else now cause I like it so
much).but the lighter the window manager and sparser the desktop.the faster
vnc works.



jb4


Bill Patient wrote: 

You could also use Putty to establish the ssh connection.

 

Then you would simply select "Tunnels" on the left nav menu and put in
source port 5802 and destination port 5801 (or maybe I have that
backwards.but try it one way and if it doesn't work.flip the numbers around
:-)

 

  _____  

From: iwe-admin@warhead.org.uk [mailto:iwe-admin@warhead.org.uk] On Behalf
Of Bill Patient
Sent: Monday, February 05, 2007 10:42 PM
To: iwe@warhead.org.uk
Subject: RE: [IWE] UPDATE

 

Ok. Here goes.

 

VNC "listens" on a specific set of ports on your home machine.

 

When you call "vncserver" it starts the vnc session and broadcasts on port
5801.

 

SSHd, when set up, expects a connection on port 22.

 

So, you must allow port 22 traffic through to the internal ip address of the
machine you are connecting to (your home machine). Most likely, if it is the
only machine on the router, the address will be 192.168.0.2.but you can
check this with the standard tools. You establish the firewall rule using
the configuration screens of your router. 

 

Now. Nearly all companies will allow traffic through port 22.not so for most
other ports.so you should be able to ssh to your home machine from inside
the firewall.

 

Once you ssh in, you can direct a forward of port 5801 across the ssh
connection.

 

When using ssh (the windows version)..the cmd was ssh2 -L
5802:localhost:5801 <yourservernameorIPgoeshere> . 

 

You then start vncviewer on your machine at work and ask it to connect to
localhost:2 since you forwarded 5801 from your home machine to 5802 on your
work machine via the ssh tunnel (the -L switch).

 

 

 

  _____  

From: iwe-admin@warhead.org.uk [mailto:iwe-admin@warhead.org.uk] On Behalf
Of Jay Burns IV
Sent: Monday, February 05, 2007 10:21 PM
To: iwe@warhead.org.uk
Subject: Re: [IWE] UPDATE

 

Andrew-

You're getting to the hairy edge of my knowledge on  this, so expect me to
misspeak sooner or later.

The cable modem is a Motorola Surfboard, in the 5000 series.   So it is not
a router per se (at least, it doesn't appear to be).  The router is directly
wired to the Surfboard; it is a D-Link DI-624 wireless router., It does
present a private LAN on the back side; it is set up to be a DHCP server,
and gives my computer an IP address of 168.192.0.x, where x is generally 100
or 101. Its DHCP server address is 168.192.0.1.  That address is also set up
as my default gateway.

When you say "program a port forward to your computer's IP and address the
router's WAN address from the outside", exactly what do you mean?

jb4


Andrew Grygus wrote: 

On Thu, 01 Feb 2007 20:28:20 -0600, Jay Burns IV wrote:
 
  

Know about VNC, heard about SSH.
 
Next idiot question goes something like, "VNC or SSH to /where/?"  Home 
machine is generally off, and even if it were on, I currently haven't 
the slightest idea 1) what my cable modem's IP address is, and 2) How to 
get access to it on the other side of the router.
 
(I'm educable, though, so any ideas on how to do that?  The 
"documentation" that accompanies the router is just the other side of 
useless, and Comcast is generally inaccessible...)
    

 
Generally a cable modem acts as a bridge and just passes traffic 
through without an address change so if your computer is attached 
directly to the cable modem the numbers you get by typing 
ipconfig /all (Windows) are the real numbers accessable from 
outside.
 
If you have your own router between the cable modem and your 
computer you can get the real addresses by loging into it and 
checking the WAN status. If you have an internal router that 
gives your local network a private address range (like 192.168.1.n) 
you'll need to program a port forward to your computer's IP 
and address the router's WAN address from the outside.
 
If your cable modem is actually a router, giving you private addresses 
on the LAN, then you need information from the service provider.
 
Andrew Grygus
 
 
_______________________________________________
IWE mailing list
IWE@warhead.org.uk
http://lists.warhead.org.uk/mailman/listinfo/iwe
 
  

------=_NextPart_000_0014_01C74BE1.07904A50
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"Comic Sans MS";
	panose-1:3 15 7 2 3 3 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";
	color:#000066;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:#000066;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dsilver lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Not really. Check inline =
responses.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> iwe-admin@warhead.org.uk =
[mailto:iwe-admin@warhead.org.uk] <b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Jay Burns IV<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, February =
08, 2007
10:24 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
iwe@warhead.org.uk<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [IWE] =
UPDATE</span></font><font
color=3Dblack><span =
style=3D'color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Comic Sans =
MS"><span
style=3D'font-size:12.0pt;font-family:"Comic Sans MS"'>BeeP-<br>
<br>
Thanks for the info, in practically idiot-proof terms (since I am a =
practical
idiot, I need such&nbsp; hand-holding).&nbsp; I'll give ti a try, and =
let you
know how it comes out.</span></font><font color=3Dnavy face=3D"Comic =
Sans MS"><span
style=3D'font-family:"Comic Sans =
MS";color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>It took me a while to figure it =
out. Don&#8217;t
worry.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Comic Sans =
MS"><span
style=3D'font-size:12.0pt;font-family:"Comic Sans MS"'><br>
<br>
Let me make sure I have one thing straight:&nbsp; By &quot;broadcasting =
on
5801&quot;, my work machine will basically try to scan anybody it can =
get to
who responds to 58xx (where xx is the target vnc =
&quot;port&quot;).&nbsp; </span></font><font
color=3Dnavy face=3D"Comic Sans MS"><span style=3D'font-family:"Comic =
Sans MS";
color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>No&#8230;what I mean here is your =
home
machine is &#8220;broadcasting&#8221; on 5801&#8230;meaning it is =
waiting for a
connection to that port and when connected will send the vnc traffic via =
that
port. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Comic Sans =
MS"><span
style=3D'font-size:12.0pt;font-family:"Comic Sans MS"'>So by using the =
magic
incantation via SSH, I've made port 5801 tunnel to 5802 on my home
machine.&nbsp; Have I got that right?</span></font><font color=3Dnavy
face=3D"Comic Sans MS"><span style=3D'font-family:"Comic Sans =
MS";color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Numbers are backwards&#8230;but the =
idea
is correct. With SSH, you are &#8220;tunneling&#8221; the 5801 port on =
your
home network to the equivalent of port 5802 on the local machine. So =
when you
start vnc (which looks for connections on the 580x series of ports, x =
denoting
the display number) you look for localhost:2 (display 2&#8230;which is =
really
display 1 on your home machine). Try not to think to hard about it. =
But..if you
want to run 2 separate displays&#8230;you can do that by starting =
another vnc
server session (which will be display 2 or port 5802&#8230;and forward =
that to
5803 on the work machine&#8230;lather rinse =
repeat).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Comic Sans =
MS"><span
style=3D'font-size:12.0pt;font-family:"Comic Sans MS"'><br>
<br>
Still need to find the &lt;yourservernameorIPgoeshere&gt; thingie.&nbsp; =
I
assume that that is the IP address that the Surfboard has on the cable; =
it is
the public address for my internet connection.&nbsp; All I have to do is =
figure
out how to get it to ante that up...and figure out a way to keep its =
leas for
like...forever.... ;-)</span></font><font color=3Dnavy face=3D"Comic =
Sans MS"><span
style=3D'font-family:"Comic Sans =
MS";color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>You assume correctly. And most all =
cable
connections to a router are essentially fixed IP addresses. I have
bepatient.net assigned to mine and haven&#8217;t had to change =
nameservers in 2
years.</span></font><font face=3D"Comic Sans MS"><span =
style=3D'font-family:"Comic Sans MS"'><br>
<br>
Really, thanks for the help...I might actually be able to figure this
out.&nbsp; if it works, it may also allow me to VNC to my Mom's machine =
in FL
(behind an Earthlink DSL modem...).</span></font><font color=3Dnavy
face=3D"Comic Sans MS"><span style=3D'font-family:"Comic Sans =
MS";color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>It is the same process and it is =
very
secure. You may want to read some of the literature on vncserver command =
about
starting the x environment and learn to use a lightweight window manager =
and
very bland colors. I use xfce for my vnc sessions (and damn near =
everything
else now cause I like it so much)&#8230;but the lighter the window =
manager and
sparser the desktop&#8230;the faster vnc =
works.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Comic Sans =
MS"><span
style=3D'font-size:12.0pt;font-family:"Comic Sans MS"'><br>
<br>
jb4<br>
<br>
</span></font><br>
Bill Patient wrote: <o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><!--[if gte mso 9]><xml>
 <u1:shapedefaults u2:ext=3D"edit" spidmax=3D"1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u3:shapelayout u4:ext=3D"edit">
  <u3:idmap u4:ext=3D"edit" data=3D"1"/>
 </u3:shapelayout>
</xml><![endif]-->You could also use Putty to establish the ssh =
connection.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Then you would simply select
&#8220;Tunnels&#8221; on the left nav menu and put in source port 5802 =
and
destination port 5801 (or maybe I have that backwards&#8230;but try it =
one way
and if it doesn&#8217;t work&#8230;flip the numbers around =
</span></font><font
size=3D2 color=3Dnavy face=3DWingdings><span =
style=3D'font-size:10.0pt;font-family:
Wingdings;color:navy'>J</span></font><o:p></o:p></p>

<u5:p></u5:p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> <a =
href=3D"mailto:iwe-admin@warhead.org.uk">iwe-admin@warhead.org.uk</a>
[<a =
href=3D"mailto:iwe-admin@warhead.org.uk">mailto:iwe-admin@warhead.org.uk<=
/a>]
<b><span style=3D'font-weight:bold'>On Behalf Of </span></b>Bill =
Patient<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, February =
05, 2007
10:42 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <a
href=3D"mailto:iwe@warhead.org.uk">iwe@warhead.org.uk</a><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: [IWE] =
UPDATE</span></font><o:p></o:p></p>

</div>

<u5:p></u5:p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Ok. Here =
goes.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>VNC &#8220;listens&#8221; on a =
specific
set of ports on your home =
machine.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>When you call =
&#8220;vncserver&#8221; it
starts the vnc session and broadcasts on port =
5801.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>SSHd, when set up, expects a =
connection on
port 22.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>So, you must allow port 22 traffic =
through
to the internal ip address of the machine you are connecting to (your =
home
machine). Most likely, if it is the only machine on the router, the =
address
will be 192.168.0.2&#8230;but you can check this with the standard =
tools. You
establish the firewall rule using the configuration screens of your =
router. <u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Now. Nearly all companies will =
allow
traffic through port 22&#8230;not so for most other ports&#8230;so you =
should
be able to ssh to your home machine from inside the =
firewall.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Once you ssh in, you can direct a =
forward
of port 5801 across the ssh =
connection.<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>When using ssh (the windows =
version)..the
cmd was ssh2 &#8211;L 5802:localhost:5801 =
&lt;yourservernameorIPgoeshere&gt; . =
<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>You then start vncviewer on your =
machine
at work and ask it to connect to localhost:2 since you forwarded 5801 =
from your
home machine to 5802 on your work machine via the ssh tunnel (the =
&#8211;L
switch).<u5:p></u5:p></span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><u5:p>&nbsp;</u5:p></span></font><o:=
p></o:p></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
color=3Dblack face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:windowtext'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 color=3Dblack face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight=
:bold'>From:</span></font></b><font
size=3D2 color=3Dblack face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma;
color:windowtext'> <a =
href=3D"mailto:iwe-admin@warhead.org.uk">iwe-admin@warhead.org.uk</a>
[<a =
href=3D"mailto:iwe-admin@warhead.org.uk">mailto:iwe-admin@warhead.org.uk<=
/a>]
<b><span style=3D'font-weight:bold'>On Behalf Of </span></b>Jay Burns =
IV<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, February =
05, 2007
10:21 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <a
href=3D"mailto:iwe@warhead.org.uk">iwe@warhead.org.uk</a><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [IWE] =
UPDATE</span></font><o:p></o:p></p>

</div>

<u5:p></u5:p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D3 color=3D"#000066" face=3D"Comic Sans =
MS"><span
style=3D'font-size:12.0pt;font-family:"Comic Sans MS"'>Andrew-<br>
<br>
You're getting to the hairy edge of my knowledge on&nbsp; this, so =
expect me to
misspeak sooner or later.<br>
<br>
The cable modem is a Motorola Surfboard, in the 5000 series.&nbsp;&nbsp; =
So it
is not a router per se (at least, it doesn't appear to be).&nbsp; The =
router is
directly wired to the Surfboard; it is a D-Link DI-624 wireless router., =
It
does present a private LAN on the back side; it is set up to be a DHCP =
server,
and gives my computer an IP address of 168.192.0.<i><span =
style=3D'font-style:
italic'>x</span></i>, where x is generally 100 or 101. Its DHCP server =
address
is 168.192.0.1.&nbsp; That address is also set up as my default =
gateway.<br>
<br>
When you say &quot;program a port forward to your computer's IP and =
address the
router's WAN address from the outside&quot;, exactly what do you =
mean?<br>
<br>
jb4<br>
<br>
</span></font><br>
Andrew Grygus wrote: <u5:p></u5:p><o:p></o:p></p>

<pre wrap=3D""><font size=3D2 color=3D"#000066" face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'>On Thu, 01 Feb 2007 20:28:20 -0600, Jay Burns =
IV wrote:<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; =
<u5:p></u5:p><o:p></o:p></span></font></pre>

<blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt' =
type=3Dcite><pre wrap=3D""><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Know about VNC, heard about =
SSH.<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Next idiot question goes something like, =
&quot;VNC or SSH to /where/?&quot;&nbsp; Home =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>machine is generally off, and even if it were =
on, I currently haven't =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>the slightest idea 1) what my cable modem's =
IP address is, and 2) How to =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>get access to it on the other side of the =
router.<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>(I'm educable, though, so any ideas on how to =
do that?&nbsp; The =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&quot;documentation&quot; that accompanies =
the router is just the other side of =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>useless, and Comcast is generally =
inaccessible...)<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; =
<u5:p></u5:p><o:p></o:p></span></font></pre></blockquote>

<pre wrap=3D""><font size=3D2 color=3D"#000066" face=3D"Courier =
New"><span
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Generally a cable modem acts as a bridge and =
just passes traffic =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>through without an address change so if your =
computer is attached =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>directly to the cable modem the numbers you =
get by typing <u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>ipconfig /all (Windows) are the real numbers =
accessable from <u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>outside.<u5:p></u5:p><o:p></o:p></span></font>=
</pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>If you have your own router between the cable =
modem and your <u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>computer you can get the real addresses by =
loging into it and =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>checking the WAN status. If you have an =
internal router that =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>gives your local network a private address =
range (like 192.168.1.n) =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>you'll need to program a port forward to your =
computer's IP <u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>and address the router's WAN address from the =
outside.<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>If your cable modem is actually a router, =
giving you private addresses =
<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>on the LAN, then you need information from =
the service =
provider.<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Andrew =
Grygus<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>______________________________________________=
_<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>IWE mailing =
list<u5:p></u5:p><o:p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"mailto:IWE@warhead.org.uk">IWE@warhead.org.uk</a><u5:p></u5:p><o:=
p></o:p></span></font></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><a
href=3D"http://lists.warhead.org.uk/mailman/listinfo/iwe">http://lists.wa=
rhead.org.uk/mailman/listinfo/iwe</a><u5:p></u5:p><o:p></o:p></span></fon=
t></pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'><u5:p>&nbsp;</u5:p><o:p></o:p></span></font></=
pre><pre><font
size=3D2 color=3D"#000066" face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp; =
<u5:p></u5:p><o:p></o:p></span></font></pre></div>

</body>

</html>

------=_NextPart_000_0014_01C74BE1.07904A50--