X with IPMASQ

X with IPMASQ

Post by Harald Schoeffe » Sat, 13 Jan 2001 06:34:51



Hi everybody,

I tried to run X apps from a remote (sun) on my local masqueraded desktop.

This worked fine until I've added another linux box now doing the dialups,
routing ... and masquerading.

Still I can do telnet, ftp, ping to the remote machine.

But I didn't find out how I should do configurations to start an X app on
the remote sun that uses the masqued DISPLAY (hmpf).

I already played with dxpc but didn't succed.

Has anybody done this ?
Any help is greatly (desperately) appreciated.

I use 2.2.16 on both my local linux (i386) and solaris 2.6 on remote side
via 64kbit dialup.

Thanx,
Harald

 
 
 

X with IPMASQ

Post by Vladimir Guse » Sat, 13 Jan 2001 18:04:40


DISPLAY=<ip_addr_sun>0:0
export DISPLAY
and check your dxterm/dtterm

--
-----------------------------------------------------------------
Motorola, GTSS department, Moscow
Vladimir Gusev, 3G/GPRS Field engineer

-----------------------------------------------------------------

Quote:> Hi everybody,

> I tried to run X apps from a remote (sun) on my local masqueraded desktop.

> This worked fine until I've added another linux box now doing the dialups,
> routing ... and masquerading.

> Still I can do telnet, ftp, ping to the remote machine.

> But I didn't find out how I should do configurations to start an X app on
> the remote sun that uses the masqued DISPLAY (hmpf).

> I already played with dxpc but didn't succed.

> Has anybody done this ?
> Any help is greatly (desperately) appreciated.

> I use 2.2.16 on both my local linux (i386) and solaris 2.6 on remote side
> via 64kbit dialup.

> Thanx,
> Harald


 
 
 

X with IPMASQ

Post by Rod Smi » Sat, 13 Jan 2001 23:36:20


[Posted and mailed]



Quote:> Hi everybody,

> I tried to run X apps from a remote (sun) on my local masqueraded desktop.

> This worked fine until I've added another linux box now doing the dialups,
> routing ... and masquerading.

If you're saying you've got a box that uses an IP masquerading router as
its gateway, and that you want to sit at this box and run remote
programs on your local X server, the problem is that the remote system
can't connect to the X server on your local box because the remote
system only sees the IP masquerading router, not your local box. I know
of three ways around this problem:

1) Set up port forwarding on the IP masquerading box so that incoming
   X requests (usually port 6000) on the IP masquerading router are
   redirected to the internal system you use for this purpose.
2) Use SSH to initiate the connection, and configure SSH on both sides
   to tunnel X protocol requests.
3) Use VNC rather than X. (Actually, VNC uses X, but it keeps the X
   server on the remote system, thus reversing the client/server
   relationship.)

--

http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

 
 
 

X with IPMASQ

Post by Harald Schoeffe » Sun, 14 Jan 2001 08:25:43


Sorry, this doesn't fit to the described configuration.
Thanx anyway,
Harald

> DISPLAY=<ip_addr_sun>0:0
> export DISPLAY
> and check your dxterm/dtterm

> --
> -----------------------------------------------------------------
> Motorola, GTSS department, Moscow
> Vladimir Gusev, 3G/GPRS Field engineer

> -----------------------------------------------------------------


> > Hi everybody,

> > I tried to run X apps from a remote (sun) on my local masqueraded
> > desktop.

> > This worked fine until I've added another linux box now doing the
> > dialups, routing ... and masquerading.

> > Still I can do telnet, ftp, ping to the remote machine.

> > But I didn't find out how I should do configurations to start an X app
> > on the remote sun that uses the masqued DISPLAY (hmpf).

> > I already played with dxpc but didn't succed.

> > Has anybody done this ?
> > Any help is greatly (desperately) appreciated.

> > I use 2.2.16 on both my local linux (i386) and solaris 2.6 on remote
> > side via 64kbit dialup.

> > Thanx,
> > Harald

 
 
 

X with IPMASQ

Post by Harald Schoeffe » Sun, 14 Jan 2001 08:27:10


OK, port forwarding did it !
Thanx,
Harald

> [Posted and mailed]



> > Hi everybody,

> > I tried to run X apps from a remote (sun) on my local masqueraded
> > desktop.

> > This worked fine until I've added another linux box now doing the
> > dialups, routing ... and masquerading.

> If you're saying you've got a box that uses an IP masquerading router as
> its gateway, and that you want to sit at this box and run remote
> programs on your local X server, the problem is that the remote system
> can't connect to the X server on your local box because the remote
> system only sees the IP masquerading router, not your local box. I know
> of three ways around this problem:

> 1) Set up port forwarding on the IP masquerading box so that incoming
>    X requests (usually port 6000) on the IP masquerading router are
>    redirected to the internal system you use for this purpose.
> 2) Use SSH to initiate the connection, and configure SSH on both sides
>    to tunnel X protocol requests.
> 3) Use VNC rather than X. (Actually, VNC uses X, but it keeps the X
>    server on the remote system, thus reversing the client/server
>    relationship.)

 
 
 

1. ipmasq: FTP and Hotline behind ipmasq firewall.

I have lots of trouble trying to put ftp and hotline servers behind a
ipmasq firewall. FTP don't work in browsers...ok I accept that. Hotline
?? There must be a workaround. While I continue to put my hair out,
anyone able to do those ??

Note: Tried redir, ipportfw...no go... :( only the www server complied.

Thanks
Regit

--

2. Atomic/transaction operations on UFS

3. VPN from Win98 Client thru IPCHAINS+IPMASQ firewall

4. aixcops

5. ipmasq and mars-nwe

6. Corefiles: Stack Corrupted Message..

7. Ipmasq Problem

8. ZooLib Cross-Platform Framework Released Under MIT License

9. HOWTO for ipmasq please ?

10. linux ppp ipmasq

11. ipmasq question!!

12. 2.0.36 ipmasq dropping tcp connections

13. IPMASQ does'n work with some URL's