Skip to content

Xenoxiluna/TerraProxy-CLI

Repository files navigation

WORK IN PROGRESS

TerraProxy-CLI

Terraria Proxy Server built with the intention of modifying packets on the fly. It currently does nothing but identify and display all packets that go through it. The proxy is asynchronous thanks to SwiftNIO and can support multiple users.

You can find Binaries under Releases if available.

Compatibility

OS
macOS 10.15.X
Ubuntu 18.04 X86-64bit
Ubuntu 18.04 ARM64/32

Usage

From terminal, run the following:

TerraProxy-CLI --proxy-target <IP or Hostname> --target-port <port> --proxy-source <IP or Hostname> --source-port <port>

For example: This will proxy your connection to the terraria server at terraserver.com on port 7777(terraserver.com:7777). Proxy source is the local ip in which the proxy server is running on.

TerraProxy-CLI --proxy-target terraserver.com --target-port 7777 --proxy-source 127.0.0.1 --source-port 7777

When in game, you would connect to 127.0.0.1 on port 7777

Docker

To pull from docker: docker pull xenoxiluna/terraproxy-cli

To build from dockerfile: docker build -t terraproxy-cli .

To run: docker run -p 7777:7777 terraproxy-cli

Dependencies

Building

To build on linux & macOS:

git clone https://github.com/Xenoxiluna/TerraProxy-CLI.git
cd TerraProxy-CLI
swift build

License

TerraProxy-CLI is licensed under the MIT License