- Rust TCP/UDP ReverseProxy
# -- 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
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"}
このような形であれば何でも反応するようになっています。
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.
- Project Name: rproxy
- Original Author: glacierx
- License: MIT License
- Added API server functionality for control and monitoring.
- Enhanced logging and configuration options.
This project is licensed under the MIT License. See the LICENSE file for details.