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

Configuring a Python Proxy on One Computer to Allow Another to Access the Internet

Daniel-Fei opened this issue · comments

I have two internal network computers, Computer 1 and Computer 2. Computer 1 also has an external network connection.
I want to run python-proxy on Computer 1, and then connect to this proxy from Computer 2 using Proxifier, allowing Computer 2 to access the internet.
Currently, I am running the following command on Computer 1:
pproxy -l http+socks5://:8080#username:password -v

I would like to ask:
(1) Can I set restrictions on client IP addresses? (For example, I only want the IP of Computer 2 to be able to access it, and restrict all others)
(2) Regarding the command above, purely in terms of speed, is there any way to make it run faster?