Linux/Unix operating system is in the desktop control of the intranet

  

Linux/Unix operating system is controlled by the internal network:

Network introduction:

A ----> B -------> internet < ------- C <-------- D

A is a FreeBSD, D is an XP system.

Both B and C have independent ips, A is a server, and C is a route.

Experimental environment:

A: FreeBSD -6.2-release-p8+x11vnc+ Ruijie certification

D:XP SP2+vnc 4.1.2+pppoe

Achieve the goal:

Let D control A's desktop, or A control D's desktop.

Analysis: To achieve a connection, you must have a channel that can be directly connected. To implement this channel

Since B upstream is an inaccessible server, port mapping can only be performed on C. .

D control A, we can map 10000 port on C to port 5500 of D (passive connection mode)

Then A is connected to C port 10000 in passive mode, so in D An actionable screen appeared.

Implementation steps:

(1) A install x11vnc, #cd usr/ports/net/x11vnc&&make install clean

(2) D install vnc, Download and then install, it is best to install a version with A, otherwise there may be errors

(3) Transfer the 10000 port of the tcp connection on C to the 5500 port of D

(4)D Run Run Listen vncviewer

(5) A run: x11vnc -connect xxx.xxx.xxx.xxx:10000

A control D, map 10001 port on C to D 5900, D runs the vnc server-side program, then A is connected to the 10001 port of C to control, the specific steps are not much to say.

Copyright © Windows knowledge All Rights Reserved