Networking Forums

Networking Forums > Computer Networking > Linux Networking > Exporting a display over a dialup bridge?

Reply
Thread Tools Display Modes

Exporting a display over a dialup bridge?

 
 
Ben
Guest
Posts: n/a

 
      12-16-2003, 06:25 PM
I hope the diagram isn't too screwed up.




A B C
143.209.219.54 143.209.219.126
---- ---- ----
| |------------| | | |
| | | |---------------| |
---- ---- ----
10.93.4.5 10.93.4.12

I want to export a display to A from C via B. B has 2 interfaces
active, the normal LAN connection and a PPP dialup to C. Machine C
does not have SSH so I can't use port forwarding. I've tried various
combinations of exporting the display and building routes, but nothing
seems to work. Is this even possible? It's bugging the poop out of me.

Any ideas are appreciated.
 
Reply With Quote
 
 
 
 
jack
Guest
Posts: n/a

 
      12-16-2003, 06:47 PM
Ben wrote:
> I hope the diagram isn't too screwed up.
>
>
>
>
> A B C
> 143.209.219.54 143.209.219.126
> ---- ---- ----
> | |------------| | | |
> | | | |---------------| |
> ---- ---- ----
> 10.93.4.5 10.93.4.12
>
> I want to export a display to A from C via B. B has 2 interfaces
> active, the normal LAN connection and a PPP dialup to C. Machine C
> does not have SSH so I can't use port forwarding. I've tried various
> combinations of exporting the display and building routes, but nothing
> seems to work. Is this even possible? It's bugging the poop out of me.


It is possible, and that is relatively easy.

First off, is the setup You describe above really correct? - Pardon me,
but it is a rather unusual setup.

Then, You can easily forward any traffic from C to A via B, and I may
assume that You have the basic knowledge on how to do that.

Two things to add are that (1) remember that 10.* is a private IP range,
so eventually B _must_ masquerade the traffic from C, and (2), A must
allow remote connections from the outside ("xhost +").

There should be absolutely no problem - You will get it to work.

After that, go use ssh tunneling and a proper rule for xhost. - But for
testing, this is really straightforward and should work.

If You yet encounter problems, see whether Your X-Server (A) listens
at a corresponding C socket to X11 connections (6000; 5000).

Should work, sorry. If this doesn't help, send more details like fw logs
and the like.


Cheers, Jack.

--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...

 
Reply With Quote
 
jack
Guest
Posts: n/a

 
      12-16-2003, 06:55 PM
jack wrote:

> First off, is the setup You describe above really correct? - Pardon me,
> but it is a rather unusual setup.


Sorry - or, "pardon me", - I misread A for C (plus a few otehr details).
It's not unusual, and even if it was, my previous answer stays intact.


Sorry for the confusion, Jack.

--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...

 
Reply With Quote
 
Leon.
Guest
Posts: n/a

 
      12-17-2003, 12:17 AM

"Ben" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) m...
> I hope the diagram isn't too screwed up.



No, I got it. B dials C, and hopes to put C on the LAN.


Your mistake has been to put the 10.93.4.* addresses on the PPP link.
Why did you do this ? I guess you saw some diagram where it was done like
this.
But in those diagrams, C belongs to a different network to A.

When you want C to be part of A, each end PPP link gets the Ip addresss of
B and C on the 143.209.219. network. PPP is also told to 'proxy-arp' which
means that B will tell A that the MAC address for C is B's mac address. A
then sends (at the ethernet level) packets for C to B, and when B gets them
B recognises them as packets for C (despite the "hoax" destination mac
address) and send them on to C. Packets returning from C to A have no
problem.



Or if you like you can leave you ip address strategy alone, and add the
routes..


On A, add a route to C via B (B's 142.209.219.* address)

On C , add a route to the network 142.209.219.0/255.255.255.0 via the PPP
interface (or B=10.93.4.5).

B will have correct routing.


However whatever the ip address scheme and routing, A . B and C need their
firewalls and networking properly configured.

A and C needs to have firewalls checked.

B needs to have its firewall checked, and also it needs to have 'ip
forwarding' turned on, in the config screen of the distribution it may be a
check box 'act as router' or 'act as gateway' , probably on the screen where
you give it an ip address netmask and gateway address.



>
>
>
>
> A B C
> 143.209.219.54 143.209.219.126
> ---- ---- ----
> | |------------| | | |
> | | | |---------------| |
> ---- ---- ----
> 10.93.4.5 10.93.4.12
>
> I want to export a display to A from C via B. B has 2 interfaces
> active, the normal LAN connection and a PPP dialup to C. Machine C
> does not have SSH so I can't use port forwarding. I've tried various
> combinations of exporting the display and building routes, but nothing
> seems to work. Is this even possible? It's bugging the poop out of me.
>
> Any ideas are appreciated.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Exporting or Reporting Jeff Windows Networking 1 04-13-2010 12:39 AM
Exporting Settings? Mr. JYC Windows Networking 1 01-03-2008 09:37 AM
RRAS dialup server not routing dialup clients to LAN resources HYGROG Windows Networking 1 04-18-2007 02:43 AM
NFS exporting smbfs mount? K. Bruner Linux Networking 0 09-09-2004 08:25 PM
Re-exporting an NFS mount Jeff Krimmel Linux Networking 1 07-07-2004 02:15 PM



1 2 3 4 5 6 7 8 9 10 11