TTTGate is a versatile tool designed to facilitate seamless external access to internal networks. With an easy-to-use server-client setup, it enables secure and efficient communication between external servers and internal PCs behind a NAT.
- Download the latest version from https://github.com/ice3x2/TTTGate/releases.
- Extract the downloaded files.
- Move the directory on both the external network accessible location and the internal network PC.
- Open CLI Interface and Navigate to the bin Directory:
- Log in to the external server and open the command-line interface (CLI).
- Navigate to the bin directory of the installed TTTGate software.
cd /path/to/TTTGate/bin
- Provide execution permissions for the TTTGate files using the following command: (Linux only)
chmod +x TTTGate*
- Execute
TTTGate-[Your_OS_Name]-[Your_Architecture] server
from this directory.for Linux./TTTGate-[Your_OS_Name]-[Your_Architecture] server
for Alpine procs beforehand, specifically for Alpine Linux:./TTTGate-linux-x64 server
for Windowsapk add procs ./TTTGate-alpine-x64 server
Available options:TTTGate-win-x64.exe server
-adminPort [port]
: Changes the port number of the web admin console.-daemon
: Runs the server in the background mode with process monitoring for automatic restart in case of internal errors.-reset
: Resets all stored configuration values.
- Access Web Admin Console:
- After successful execution, open a web browser.
- Enter the external server's IP address followed by the port number 9300 (e.g., http://your_server_ip:9300). You should now be able to access the web admin console.
- Open CLI Interface and Navigate to the bin Directory:
- Log in to the external server and open the command-line interface (CLI).
- Navigate to the bin directory of the installed TTTGate software.
cd /path/to/TTTGate/bin
- Provide execution permissions for the TTTGate files using the following command: (Linux only)
chmod +x TTTGate*
- Execute
TTTGate-[Your_OS_Name]-[Your_Architecture] client -addr [server address]
from this directory.Please [server_address] with the server address in the format of [hostname]:[port_number]. If the port number is the default 9126 and has not been changed on the server, you can simply enter the hostname. for Linux./TTTGate-[Your_OS_Name]-[Your_Architecture] client -addr [server_address]
for Alpine procs beforehand, specifically for Alpine Linux:./TTTGate-linux-x64 client -addr hostname
for Windowsapk add procs ./TTTGate-alpine-x64 client -addr hostname
Available options:TTTGate-win-x64.exe client -addr hostname
-tls
: Enables communication with the server using Transport Layer Security (TLS) when TLS is enabled in the web admin console. default false.-name
: Defines the client name. default random name.-key
: Defines the authentication key, which must match the one set in the web admin console. The default value is the same for both the server and the client, so it does not need to be set separately.-daemon
: Operates in the background mode. Process monitoring is also active, enabling automatic restart in the event of the server process being forcibly terminated due to internal errors.-bufferLimit
: [limit size]: Specifies the buffer size limit in mebibytes (MiB). Default 128MiB.-save
: Saves the options.
for Linux
./TTTGate-linux-x64 stop
for Alpine
./TTTGate-alpine-x64 stop
for Windows
TTTGate-win-x64.exe stop