开发者

How do I implement port redirecting/mapping on windows?

开发者 https://www.devze.com 2022-12-15 19:12 出处:网络
I am programm开发者_如何学Going a web proxy that is installed on client machines (same machine as the web browser).

I am programm开发者_如何学Going a web proxy that is installed on client machines (same machine as the web browser).

I would like for all traffic that is web traffic to get redirected into my proxy server.

I am using a windows operating system (XP, Windows 2003, Windows 2008, Vista, Windows 7).

What would I need to do, to redirect all internet traffic on port 80 to my web proxy?

I noticed this software allows you to create port mappings in windows. And I can get my proxy to work in that way. One of the components they install is called NDIS and I assume they use that technology to be able to port redirect.

So my question is... what is the best (best as in easiest to implement) API or technology to use to program a port redirector in Windows?


Your options are Application Layer Proxy (= browser proxy settings), Layered Service Provider; TDI driver (or more modern equivalent?); NDIS driver. There is no simple answer to what is best or easiest. You need to take your own skill set into account, as well as the potential compatibility issues. Lots of other programs use each of these methods and you need to be compatible with them, or at least not break them.

0

精彩评论

暂无评论...
验证码 换一张
取 消