Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A WebGateway is a type of security solution that prevents unsecure unsecured traffic from entering an organization's internal network. Enterprises Businesses use them a WebGateway to protect their employees/users from accessing and/or being infected by malicious web traffic, websites, or virus/malware.

...

To install the “WebGateway”, run the “InstallTWebGatewayService.exe” application. All the used information for the WebGateway is in the TWebGatewayService.exe.config.  It This will create a window services windows service and all output will be sent to the windows event viewer. After any modification in to the .config file, the windows service must be stopped and startedrestarted.


Using Additional Ports

When using additional ports (ExtraCount parameter), you need pre-to configure the TWebGatewayService.exe.config file, and then execute the WebGateway installation. The executable “InstallTWebGatewayService.exe” will verify the TWebGatewayService.exe.config and install the additional ports on the Windows routing table. Then, after any modification related After you make modifications to the related additional port ports, you must follow the steps below: 

  1. In the command prompt, run Run in Command Prompt the application: InstallWebGateway /uninstall uninstall 
  2. Modify the file: TWebGatewayService.exe.config
  3. Run in Command Prompt the In the command prompt, run the application: InstallWebGateway

...

The available WebGateway parameters can be found in the list below:

LocalPort : WebGateway listening port. If you are using ONLY “Windows Authentication” set it ONLY using Windows Authentication, set the parameters to zero (0) and the port won’t will not be opened.

LocalPortWA: WebGateway listening port using “Windows Authentication”Windows Authentication. If you are not using “Windows Authentication” set it Windows Authentication, set the parameters to zero (0) and the port won’t will not be opened.

RemoteIP : Computer IP where is running that runs the runtime server (TServer.exe).

RemotePort : “TServer.exe” listening port without “Windows Authentication”.Windows Authentication

RemotePortWA: “TServer.exe” listening port using “Windows Authentication”.Windows Authentication

WA:  Force to   Must use either RemotePort or RemotePortWA. Do It does not matters matter which port the data arrive arrives in (LocalPort or LocalPortWA).

     True = Use only Remote Port WA.

     False = Use only Remote Port.

RuntimeUsersProject: [optional] Set which project (tproj) that has the RuntimeUsers data table to that will validate the users from SmartClient/RichClient.

CheckRunTimeUsersWA: [optional] Set to validate the users from SmartClient/RichClient using “Windows Authentication”.Windows Authentication

True = Enabled (Runtime Using Project parameter cannot be used when True).

             False = Disabled.

TargetCF : [optional] Set if the project is being  This enables a project to be deployed in a Compact Framework environment (WindowsCE) or not.

     True = Enabled

     False = Disabled.

ExtraCount: [optional] Number of additional ports (extra ports). These ports will only route the incoming data in the LocalPort<#> to the RemoteIP<#> and RemotePort<#>.

LocalPort2: WebGateway listening port. It must start in with #2.

RemoteIP2:  Computer IP where that is running the runtime service.

RemotePort2: “TServer.exe” listening port.

LocalPort3: WebGateway listening port.

RemoteIP3: Computer IP where that is running the runtime service.

RemotePort3: “TServer.exe” listening port.

.....

RemoteIP<n>: Computer IP where that is running the runtime service.

RemotePort<n>: “TServer.exe” listening port.


Note

The lines Since the line ”<! − −” and ”−− >” makes a comment block. So, it needs to be removed.


Info

In You can find any default values in the “TWebGatewayService.exe.config” you can find the default values.


Warning

The additional ports (extra ports) won’t will not work with the parametersLocalPortWA, RemotePortWA ,WA, Encrypt, RuntimeUsersProject, CheckRunTimeUsersWA and TargetCF.

...

When the WebGateway service is started, log messages can be found are in the Windows EventViewer.You should be able to

find among the messages one as in the exampleBelow is a message similar to one of the log messages.

Code Block
First redirect :: LocalPort: 3101, RemoteIP: localhost, RemotePort: 3101,RemotePortWA: 3102 
Extra Redirection Table:
Listen on ipv4:	Connect to ipv4:

Address	Port	Address	Port
---------------    ----------	--------------- ---------- 0.0.0.0	3100	192.168.80.129	3100
0.0.0.0	3102	192.168.80.129	3101

...