你的位置:首页 > 互联网IT

forwardproxy,forwardproxy端口转发,端口映射,python端口转发

支持系统:Windows

软件名称:forwardproxy

软件下载:forwardproxy-1.0.zip

python环境下载Windows64位:python-2.7.18.amd64.rar

python官网:https://www.python.org/downloads/

项目地址:https://github.com/westphilm/forwardproxy

评测:TCP转发速度可以,支持Windows,不支持udp,缺点是不能同时多个运行,比较繁琐,负载能力差,推荐个人使用

Windows用法:

第一步:

安装:python环境

第二步:

编辑:proxy.py

(支持域名,IP)

# Proxy options

proxyPort = 8000

proxyBinding = '0.0.0.0'

proxyForwardTo = ('www.baidu.com', 8001)

说明:

proxyPort = 8000 本地端口

proxyBinding = '0.0.0.0' 本地IP

proxyForwardTo = ('www.baidu.com', 8001)  远程域名与IP 远程端口


QQ截图20201125163409.jpg forwardproxy,forwardproxy端口转发,端口映射,python端口转发 互联网IT


第三步:

运行:proxy.py

端口转发成功

多个端口转发,复制目录,运行proxy.py即可


项目原文:

ForwardProxy

Python Port Forwarding Proxy

This is a port-forwarding proxy. It connects to another server:port and returns the received data. Useful for server-side redirects to local services or resources, e.g. cam streams. So you can hide services from public access, but enable controlled access through the proxy.

The embedded authentication module protects the proxy itself against unauthorized access. This is only an example implementation, which works with 2 plain text URL-Parameters. You can us it, how it is (you shouldn't!), you can replace it with your own authentication module or you can disable the authentication.

Jann Westphal 02/2020



  • 发表评论
  • 查看评论
【暂无评论!】

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。