Click to See Complete Forum and Search --> : Exporting display (not easy to describe)..


otheos
08-09-2001, 04:24 AM
I have my LAN server connected to the internet through a 56K modem, IP assigned through ppp. In my LAN I got my workstation with private IP only (192.168.0.2). The server is headless and has no X installed.

I need to connect to my work workstation (also RH7.1) and export the display to my home workstation. So the connection is:

Work->Home Server->Home workstation.

Now, the box at work, only knows of the public IP assigned by my ISP to my ppp interface home. So if I do:

setenv DISPLAY my.ip.at.home:0.0

it tries to export the display to my home server, since it's unaware of anything beyond this box in my LAN.

How can I ask it to export it to my home hw which's IP is private?

I presume there could be a way around in the same sense that I could get a web server with a private IP to serve to the internet.

Thank you for your time.

dvdnut
08-09-2001, 05:01 AM
do you know which port you will need to export this?

you could use port forwarding

another would be to use vnc
have the vnc server running at work and the client at home.

otheos
08-09-2001, 05:07 AM
I presume it's port 6000 that needs to be forwarded but my ipchains skills are really limited. I have managed to set up the basic firewall. This is what my forwarding is limited to:

/sbin/ipchains -P forward DENY
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ