tinyPortMapper
tinyPortMapper copied to clipboard
A Lightweight Port Mapping/Forwarding Utility using epoll/libev, supports IPv4 and IPv6 for both TCP and UDP
IPv4 和 IPv6 都要,如果没有这个功能,域名 IP 更改后,需要手动重启,比较麻烦
你好 Mr.wangyu, 我尝试透过 tinymapper 转 udp2raw, 无法成功连接: Dec 15 12:00:56 raspbian udp2raw_arm[231706]: [2021-12-15 12:00:56][INFO]using port 64365 Dec 15 12:00:56 raspbian udp2raw_arm[231706]: [2021-12-15 12:00:56][INFO]state changed from client_idle to client_tcp_handshake Dec 15...
hello. git clone https://github.com/wangyu-/tinyPortMapper/ tinyPortMapper-by-wangyu- cd tinyPortMapper-by-wangyu- make 显示: ... ld: library not found for -lcrt0.o clang: error: linker command failed with exit code 1 (use -v to see invocation)...
直接访问NAS的读写性能  主机访问OpenWrt虚拟机(桥接网络)445端口,转发到另一台NAS主机某端口(该端口不受ISP和防火墙限制,可在公网访问),实际转发(读和写)性能约为直接访问NAS的一半  另一台Window7虚拟机访问OpenWrt虚拟机445端口,实际转发性能为:读为直接访问的约90%,写为直接访问的约60% 
```sh luozhan@luozhandeMacBook-Pro 临时文件 % sudo ./tinymapper -l192.192.2.101:1070 -r10.211.55.3:1070 -t -u ``` result: ```sh sudo: ./tinymapper: command not found ```
It would be nice to be able to configure tinyPortMapper to run as a service. I recognize that multiple services would be required for multiple ports.
Can i port forward using hostname example : ./tinymapper_amd64 -l0.0.0.0:1234 -r example.com:443 -t or you have plan to add hostname ?
[2019-05-10 15:20:10][INFO]argc=9 tinymapper_wepoll.exe -l 10.66.160.250:10012 - r 10.65.128.1:10013 -t -u --log-level 6 [2019-05-10 15:20:10][INFO]parsing address: 10.66.160.250:10012 [2019-05-10 15:20:10][INFO]its an ipv4 adress [2019-05-10 15:20:10][INFO]ip_address is {10.66.160.250}, port is {10012} [2019-05-10 15:20:10][INFO]parsing...
Dear wangyu- I have been trying tinyPortMapper, it's great and working well, but can you please add URL resolve feature so I don't have to input IP address each time...
就是能设置多个 -r ,然后从第一个开始轮询,取第一个能用的转发?