nadoo / glider

glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq).
GNU General Public License v3.0
3.19k stars 439 forks source link

How can i forward traffic to the same port #343

Closed TGSAN closed 1 year ago

TGSAN commented 2 years ago

I want to listen to the socks5 or http proxy on Glider and then forward the request from IP address A port to the same port of IP address B.

Example:

glider -listen ":8080" -forward "any://1.1.1.1:*"
Client Request 1.2.3.4:80 (TCP) ----> Glider(socks5://:8080) ----> tcp://1.1.1.1:80
Client Request 1.2.3.4:443 (UDP) ----> Glider(socks5://:8080) ----> udp://1.1.1.1:443
github-actions[bot] commented 1 year ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.