Secure communication gateways for multi-site deployments.
Parent Page: Installation & Licensing (Reference)
Secure Multi-Port Gateway manages communications between multiple projects, nodes, and systems.
Example: Business-level project sending requests to any site in a group, with traffic handled via Secure Gateway.
Gateway Clarification
Explanation if Gateway in sense of data aquisition, and forward or make series totter others, standard feature in all product lies. see...
InstallTWebGatewayService.exe
TWebGatewayService.exe.config
When using additional ports:
cmd
InstallWebGateway /uninstall
TWebGatewayService.exe.config
cmd
InstallWebGateway
The installer reads config and updates Windows routing table.
Parameter | Description | Default/Notes |
---|---|---|
LocalPort | Gateway listening port | Set 0 for Windows Auth only |
LocalPortWA | Windows Auth listening port | Set 0 if not using |
RemoteIP | TServer.exe computer IP | Runtime server location |
RemotePort | TServer.exe port | Without Windows Auth |
RemotePortWA | TServer.exe port with WA | Alternative to RemotePort |
WA | Authentication mode | True = Windows Auth only |
Parameter | Description | Usage |
---|---|---|
RuntimeUsersProject | Project with RuntimeUsers table | Validates SmartClient/RichClient users |
CheckRunTimeUsersWA | Validate with Windows Auth | Cannot use with RuntimeUsersProject |
TargetCF | Compact Framework support | For Windows CE deployment |
Configure additional routing with ExtraCount
:
xml
<add key="ExtraCount" value="3"/>
<add key="LocalPort2" value="3100"/>
<add key="RemoteIP2" value="192.168.1.100"/>
<add key="RemotePort2" value="3101"/>
<add key="LocalPort3" value="3200"/>
<add key="RemoteIP3" value="192.168.1.200"/>
<add key="RemotePort3" value="3201"/>
Pattern continues for LocalPort(n), RemoteIP(n), RemotePort(n).
Start from Windows Services or command line:
cmd
net start TWebGatewayService
Check Windows Event Viewer for startup log:
First redirect :: LocalPort: 3101, RemoteIP: localhost, RemotePort: 3101
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
Basic 1-to-1 connection:
xml
<add key="LocalPort" value="3101"/>
<add key="RemoteIP" value="192.168.1.100"/>
<add key="RemotePort" value="3101"/>
Master connecting to multiple sites:
xml
<add key="LocalPortWA" value="3102"/>
<add key="WA" value="true"/>
<add key="ExtraCount" value="2"/>
<add key="LocalPort2" value="3200"/>
<add key="RemoteIP2" value="site1.local"/>
<add key="RemotePort2" value="3101"/>
<add key="LocalPort3" value="3300"/>
<add key="RemoteIP3" value="site2.local"/>
<add key="RemotePort3" value="3101"/>
<!-- -->
syntax (remove when editing)TWebGatewayService.exe.config
Issue | Solution |
---|---|
Service won't start | Check Event Viewer for errors |
Port conflicts | Use netstat to find conflicts |
Connection refused | Verify firewall rules |
Authentication fails | Check WA parameter matches client |
Routes not working | Reinstall after config changes |