Comments (6)
我特地查了一下,什么是前置代理功能,这个功能类似父级代理功能,就是在本机访问php server时,先通过一个HTTP/HTTPS/SOCKS代理,然后让这个父级代理连接php server,相比直接连接,中间套了一层代理;不知道我理解的对不对,添加这个功能倒不是很复杂,但我没明白什么情况下,需要这种功能,或者只是需要一个速度快的代理中转一下?
from php-proxy.
比如公司网络需要前置代理才能连接外网,内网默认无法访问外网。
还有就是您说的,通过速度快的代理进行加速。
套娃也可以增加追踪难度,提高安全性。
from php-proxy.
好,有空加上
from php-proxy.
hi,main分支最新的代码已经支持前向代理了,你可以自己编译试一下,我做过简单测试了,目前只支持http和socks5代理(这是golang http库自己实现的)
url 代理格式如下所示:
http://127.0.0.1:80
http://koala:[email protected]:80
socks5://user:[email protected]:1080
socks5://127.0.0.1:1080
php-proxy.json配置格式参考如下:
"fetchserver": "https://a.bc.com/go/index.php",
"password": "123456",
"sni": "",
"listen": "127.0.0.1:8081",
"debug": true,
"insecure": false,
"autoproxy": false,
"user-agent": "",
"proxy": "http://koala:[email protected]:80"
}
from php-proxy.
试了下,前置代理功能已经可以使用,非常感谢!
from php-proxy.
ok,最新的代码https proxy也做了支持;暂时打算支持这么多协议吧
http://127.0.0.1:80
http://koala:[email protected]:80
socks5://user:[email protected]:1080
socks5://127.0.0.1:1080
https://127.0.0.1:80
https://koala:[email protected]:80
from php-proxy.
Related Issues (19)
- android11 coloros 导入crt 提示,需要提供私钥才能安装证书 HOT 8
- 照猫画虎,给程序弄了个最小化到托盘 HOT 1
- 完全用不了了 HOT 17
- 关于网络速度的疑问 HOT 2
- 已解决问题,感谢作者
- 希望能支持监听 socks5 协议的端口 HOT 1
- URL 不支持分号 HOT 2
- 无法通过Cloudflare Turnstile 验证码? HOT 1
- 请问出现403的情况怎么排错和解决呢? HOT 3
- 可以发布一个mips版本的嘛? HOT 2
- 审查规避策略 HOT 1
- 证书问题 HOT 4
- 速度不行 HOT 15
- 自定义 UA HOT 2
- [Feature Discussion] 以SOCKET为载体的代理 HOT 8
- 推荐两个网站 HOT 1
- vercel使用问题 HOT 5
- 执行报错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-proxy.