Transparent HTTP proxy

Transparent HTTP proxy,第1张

erijo/transparent-proxy

Transparent HTTP proxy

A basic transparent HTTP proxy that can sit between a client and HTTP servers,
proxying requests from the client and rewriting the returned resource.

Much inspiration taken from
sergio-proxy.

It is enabled on the gateway (in my case for a single client) by a simple
iptables rule:

iptables -t nat -A PREROUTING -s $CLIENT_IP -p tcp --dport 80 -j REDIRECT --to-port 8080

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2089228.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存