[geeks] Irix port forwarding
Shawn Wallbridge
shawn at synack-hosting.com
Sat Feb 8 15:29:26 CST 2003
But you don't need irix to do any forwarding if it has ssh.
I tunnel VNC all the time for work. I have a machine inside our network
that is running the VNC server, it's behind a firewall. I use SSH from
my firewall to open a tunnel to the firewall directing all traffic to
the VNC machine.
This should work for you....
192.168.1.1 - Windows box IP
123.123.123.123 - External IP of SGI
ssh -g -l username -N -L 139:192.168.1.1:139 123.123.123.123
give it a try.
shawn
On Sat, 2003-02-08 at 14:53, Caleb Shay wrote:
> >From what I found, I would only need 139, but regardless, the ssh tunnel
> is the easy part, the hard part is getting irix to do the port
> forwarding. All I need is something on the irix box to say "Everything
> that comes in on port 139 should forward to port 139 on the smb
> server". If I could have that, setting up the ssh tunnel is just a
> matter of "ssh -f -L 9999:irixbox:139 irixbox sleep 10; smbclient -p
> 9999 //localhost/share" from my linux box at home.
>
> So, if somebody knows how to do port forwarding under Irix, I can do the
> rest.
>
> Caleb
>
> On Sat, 2003-02-08 at 15:35, Kurt Huhn wrote:
> > Caleb Shay <caleb at webninja.com> wrote:
> > >
> > > If I could do this via an ssh tunnel, all the better.
> > >
> >
> > This is exactly what I would do, but I've never actually set it up. I
> > think TCP ports 135-139 are what you need to tunnel. I have no idea if
> > you can forward multiple ports over a single ssh tunnel though -
> > something tells me that you can't.
> --
> /*---------------------------------------------------------------------
> Caleb Shay "UNIX _IS_ user friendly.
> Programmer/System Administrator It's just particular about
> Providence, RI who its friends are."
> ---------------------------------------------------------------------*/
> _______________________________________________
> GEEKS: http://www.sunhelp.org/mailman/listinfo/geeks
More information about the geeks
mailing list