Skip to content

FMotalleb/absolutus_rex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Absolutus Rex

absolutus_rex is a CLI tool to forward ports. The name means "Absolute King" in Latin. It is currently on version 0.2.0.

Usage

To use absolutus_rex, run the following command:

absolutus_rex [OPTIONS] --r-address <REMOTE_ADDRESS> --r-port <REMOTE_PORT>
sequenceDiagram
    actor  client
    participant Rex
    participant server
    client->>Rex: Send packet
    activate Rex
    Rex->>server: Forward packet
    activate server
    server-->>Rex: Send response
    deactivate server
    Rex-->>client: Send response
    deactivate Rex
    Note right of Rex: Tunneled Connection

Loading

Options

  • -p, --ports <PORTS>: Local port|s - requires a local port|s that are available for use
  • -l, --local-only: This flag only opens a port on the local network (127.0.0.1), and is intended for debugging purposes
  • -a, --r-address <REMOTE_ADDRESS>: This flag sets the remote address
  • --r-port <REMOTE_PORT>: This flag sets the remote port
  • -h, --help: Print help (see more with '--help')
  • -V, --version: Print version

Note: The --r-address, --r-port and --ports options are required.

Installation

To install absolutus_rex, follow these steps:

  1. Download the latest release from the releases page.
  2. Extract the contents of the ZIP file.
  3. Navigate to the extracted directory.
  4. Run the absolutus_rex file with --help flag to see instructions.

License

This project is licensed under the MIT License - see the LICENSE file for details.

TODO

  • config file
  • deamonize (after config file)
  • dns server
  • ipv6 support
  • multiple remote server