Skip to content

crafcat7/rdnat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdnat

This is a dynamic network address translation (DNAT) tool based on Rust and Tokio asynchronous runtime library.

Installation

Clone the repository and build the project:

git clone https://github.com/crafcat7/rdnat.git
cd rdnat
cargo build --release

Usage

rdnat [options] <username> <password>

Based on the HTTP, the function will start a proxy server. It is to monitor the port specified.

  • Start the proxy with a specified username and password, using the default port (8000):
./rdnat -a user password
  • Start the proxy, specifying port 8001 with a username and password:
./rdnat -p 8001 -a user password
  • Start the proxy, specifying port 8001 with a username and default password (anonymous):
./rdnat -p 8001 -a user
  • Start the proxy with no username and no password, using the default port (8000):
./rdnat
  • Start the proxy and log output to rdnat.log:
./rdnat -d

About

A target conversion tool based on rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages