Re:[Thanks] IP Masquerade and X-Windows

1997-11-21 Thread Lazar Fleysher
Hi Carey,

Sorry for a long silence, did not have time to check mails...
and now I have thousands of them...
Thank you very much for your suggestion. It works!

ZORO

On 26 Oct 1997, Carey Evans wrote:

 Lazar Fleysher [EMAIL PROTECTED] writes:
 
  What I can not do (and what the question is about) is run an X-Windows
  application off remote host on my second computer. I mean the following.
  If I telnet from my second computer to, say, my university account and run
  xclock off my university it opens window on my first computer, not second.
  Is it possible to redirect it to the second one? 
 
 You should probably run `redir' on the first host to send port 6001 on
 it to port 6000 on the second.  e.g. in /etc/inetd.conf:
 
 6001 stream tcp nowait nobody /usr/sbin/redir redir --inetd host2 6000
 
 (untested)
 
 You'll then need to make DISPLAY on your university account host1:1,
 which will be redirected to host2:0.  You'll also need to get the
 appropriate xauth information to your university account or use xhost,
 which is quite insecure.
 
 This doesn't need IP forwarding or masquerading enabled at all.
 
 -- 
 Carey Evans  *  http://home.clear.net.nz/pages/c.evans/  gc
 
  Neniu anticipas la hispanan Inkvizicion.



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: IP Masquerade and X-Windows

1997-10-26 Thread Adam Shand
 I know that the question I am asking most probably have It is impossible
 as an answer. But still

I won't be impossible... just might not be coded yet :-)

 What I can not do (and what the question is about) is run an X-Windows
 application off remote host on my second computer. I mean the following.
 If I telnet from my second computer to, say, my university account and run
 xclock off my university it opens window on my first computer, not second.
 Is it possible to redirect it to the second one? 

This is because the box running IP Masq and doen't have a proxy for X
forwarding built in.  I believe (from memory) that one of the things the
FAQ mentions is that there in no X proxy for IP Masq written yet.

The only other option I can think of is to connect to the box you want to
run the X app from with ssh and run the app through that.  This will work
(I believe) because ssh tunnels the X session through it.

If you haven't played with SSH yet you should... get the package from one
of the non-us mirrors and install it it's *much* better then telnet
where you are vulnrable to people sniffing your password.

 I think I should probably reconfigure X-Windows on my first machine to be
 able to do it. 

I don't think this is an X configuration issue.  It is an IP Masq issue.

Adam.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: IP Masquerade and X-Windows

1997-10-26 Thread Carey Evans
Lazar Fleysher [EMAIL PROTECTED] writes:

 What I can not do (and what the question is about) is run an X-Windows
 application off remote host on my second computer. I mean the following.
 If I telnet from my second computer to, say, my university account and run
 xclock off my university it opens window on my first computer, not second.
 Is it possible to redirect it to the second one? 

You should probably run `redir' on the first host to send port 6001 on
it to port 6000 on the second.  e.g. in /etc/inetd.conf:

6001 stream tcp nowait nobody /usr/sbin/redir redir --inetd host2 6000

(untested)

You'll then need to make DISPLAY on your university account host1:1,
which will be redirected to host2:0.  You'll also need to get the
appropriate xauth information to your university account or use xhost,
which is quite insecure.

This doesn't need IP forwarding or masquerading enabled at all.

-- 
Carey Evans  *  http://home.clear.net.nz/pages/c.evans/  gc

   Neniu anticipas la hispanan Inkvizicion.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


IP Masquerade and X-Windows

1997-10-25 Thread Lazar Fleysher
Hello to everybody,

I know that the question I am asking most probably have It is impossible
as an answer. But still

I have two computers connected to each other. Both run Linux and
X-Windows. One is configured to provide IP Masquerade and is connected to
the Internet. I can telnet, ftp, Netscape and etc. on the other machine.
It is fine. 

What I can not do (and what the question is about) is run an X-Windows
application off remote host on my second computer. I mean the following.
If I telnet from my second computer to, say, my university account and run
xclock off my university it opens window on my first computer, not second.
Is it possible to redirect it to the second one? 

I think I should probably reconfigure X-Windows on my first machine to be
able to do it. 

Does anyone have suggestions?

Thank you,

ZORO



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .