How to setup the TCP_Proxy for local or remote with tunnels

Document ID : KB000057237
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction

Working with tcp_proxy Probe.
?
The TCP_Proxy can be used to redirect traffic from the probe host, to another host or to itself.
The tcp_proxy probe is designed to redact TCP traffic between machines even across hubs with tunnels.
?
Environment:
?
Primary Server:
?????????????? Windows 2008 R2
?????????????? UIM 8.1
?????????????? Hub 7.63
?????????????? Controller 7.63
?????????????? tcp_proxy 1.10
?
Remote Tunnel Server:
?????????????? Windows 2008 R2
?????????????? UIM 8.1
?????????????? Hub 7.63
?????????????? Controller 7.63
?????????????? tcp_proxy 1.10
?
RDP Client Machine:
?????????????? Windows 7 64-bit

?




Procedure

TCP_Proxy can be set up in one of two ways:
?
CASE 1:
A single TCP_Proxy is placed on a machine. Traffic is directed by the service client to that machine and the TCP_Proxy redirects that traffic to a target machine running the service server.
A profile is configured as such:
?? ?Server Host: The hostname or IP address of the target machine running the service server.
?? ?Listen Port: The port that listens for the service client traffic.
?????????????? (Usually this will be any FREE port on the Probe Robot so that the TCP_Proxy probe can listen on it properly. In this example 48102)
?? ?Server Port: The port that the service client?traffic is redirected to which the?service server?is listening on. (I.E. RDP service servers listen on port 3389).
?? ?Proxy: BLANK
?
User-added image


CASE 2:
A TCP_Proxy is placed on each end of a Nimsoft Tunnel, so there are two TCP_Proxy probes being used.


For this example there will be one on the Primary UIM server we will call the Proxy Probe, and one on the remote hub we will all the Target probe.
?
Example:
?????????????? Starting RDP client from windows 7 Machine connecting to non RDP port on primary server to be redirected to an RDP session across a tunnel.
?
Setup Primary Server (Proxy Probe):
Address of primary server:
/howeu01-U137596dom/howeu01-U137596hub/howeu01-U137596/
Screen shot of setup on primary:
User-added image

Name: Any name you would like to provide
Active: check to enable
Server host: this is blank as the request will be redirected to the robot listed in the proxy section
Server port: This is the port to use to send the request to the remote server.
(This port has to match the port on the Target probe machine?s Listen Port)
Listen Port: this is the port the incoming requests will be listening on.
Proxy: Full path to robot on client network. In this case client hub acting as tunnel server.
?
NOTE:
This was only tested with the tcp_proxy running on a hub not a remote robot.
?
?
Setup Tunnel Server (Target probe machine):
Address of Tunnel server:
/howeu01-U137596dom/howeu01-i145256/howeu01-i145256
?
Screen shot of setup on Tunnel Server:

User-added image


Name: Any name you would like to provide
Active: check to enable
Server host: this is target server. It is suggested that you use IP address rather than DNS to rule out problems. In the above example we just wanted an RDP session to the remote hub itself so localhost was used.
Server port: This is the port to send the final request to. In this case for RDP it is the default RDP port 3389.
Listen Port: this is the port the incoming requests will be listening on.
?????????????? (This is the same as the server port on the Proxy Probe Machine)
?
?

To make the connection to the remote machine from the windows & work station below is a screen shot:
?User-added image



Please note that the username is for the destination machine using the destination machines domain\user information
Not the primary hub user information.
?
?
?Appendix:
Config file from Primary (Proxy Probe Machine):
<setup>
?? loglevel = 0
</setup>
<profiles>
?? <Primary RDP test>
????? active = yes
????? description =
????? server_port = 48102
????? server_host =
????? listen_port = 48105
????? proxy = /howeu01-U137596dom/howeu01-i145256/howeu01-i145256
?? </Primary RDP test>
</profiles>
?
?
Config file from Tunnel server (Target Probe Machine)
<setup>
?? loglevel = 0
</setup>
<profiles>
?? <Server_profile>
????? active = yes
????? description = setup to access RDP
????? server_port = 3389
????? server_host = localhost
????? listen_port = 48102
?? </Server_profile>
</profiles>
?






?