qwj / python-proxy

HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Define port for outgoing packets

dhruvrauthan opened this issue · comments

Hi,

When I run a simple sudo pproxy it starts listening on port 8080 for incoming packets. However, I want to send the packets from the proxy via a particular local port on my machine, for example port 3000. Is this possible with the current version? If yes, how?
The flow would be like the packet reaches 8080 and then goes out through 3000 to the intended destination

Thanks!