Linux/UnixThe operating system is in the IntranetDesktopControl:
Network introduction:
A ----> B -------> internet <------- C <-------- D
A is A FreeBSD, and D is an XP system.
Both B and C have independent ip addresses. A is A server, and C is A route.
Lab environment:
A: FreeBSD-6.2-release-p8 + x11vnc + ruijie Certification
D: XP SP2 + vnc 4.1.2 + pppoe
Goals:
Allows D to control A's desktop or A to control D's desktop.
Analysis: To achieve connection, you must have a channel that can be directly connected.
Because upstream B is an inaccessible server, port ing can only be performed on C.
D controls A. We can map port 10000 on C to the passive connection mode of port 5500 on D)
Then A connects to port 10000 of C in passive mode, so that an operable screen appears in D.
Steps:
(1) A. install x11vnc, # cd usr/ports/net/x11vnc & make install clean
(2) D. Install vnc at http://www.realvnc.com/download.html to download the installation package. It is best to install it with a kernel, but the error may not be displayed.
(3) Switch tcp connection port 10000 on C to port 5500 on D.
(4) D. Run Listen vncviewer.
(5) Running A: x11vnc-connect xxx. xxx: 10000
A controls D and maps port 10001 on C to port 5900 on D. D runs the vnc server program and A controls port 10001 connected to C. The specific steps are not mentioned.