Skip to content

max3584/rproxy-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP/UDP ReverseProxy

  • Rust TCP/UDP ReverseProxy

Usage:

# -- clone repository --
git clone https://github.com/max3584/TCP-UDP-rproxy.git

# -- reverse proxy build
cd TCP-UDP-rproxy

./forward -loglevel 2 \
          -debug false \
          -logfile ./proxy.log \
          -api_addr 127.0.0.1 \
          -api_port 8080 \
          -control_tcp_addr 127.0.0.2 \
          -control_udp_addr 127.0.0.3

reverse proxy setup

APIでTCP/UDPのデータReverseProxyを追加することができます。
例:
nc 127.0.0.1 8080
# UP TCP Reverse Proxy 
{"property":"UP","listen_addr":"192.168.1.1","listen_port":8888,"remote_addr":"192.168.1.2","remote_port":8080,"protocol":"TCP"}

# STOP TCP Reverse Proxy
nc 127.0.0.2 8888
{"property": "STOP"}

# TCP ReverseProxy Update remote address
nc 127.0.0.2 8888
{"property": "STOP", "parameter": "192.168.1.3:8081"}
このような形であれば何でも反応するようになっています。

About rproxy-api

rproxy-api is a derivative of the rproxy project by glacierx. The project utilizes core functionalities from the original rproxy implementation and introduces additional features, including API server capabilities and enhanced logging.

Original Project

  • Project Name: rproxy
  • Original Author: glacierx
  • License: MIT License

Modifications

  • Added API server functionality for control and monitoring.
  • Enhanced logging and configuration options.

License

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

About

Reverse Proxy and Dynamic Port Bind

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 100.0%