HowTo/ProxySetting

Aus i2pwiki.mk16.de
Zur Navigation springen Zur Suche springen

Windows下如何设置I2P的自动代理调度[Bearbeiten]

  • 有两种方案适于各种数浏览器:


1.串联Proxomitron代理[Bearbeiten]

注意下载N45J而非N45M

启动Proxomitron点【Headers】

点New输入下面的规则:

HTTP Header URL: eepsites
URL Match ([^/]++.i2p/*)
Replacement Text $SETPROXY(127.0.0.1:4444)

注;开头没有空格 【OK】在规则前的【Out】列打勾【OK】

点主界面上的【Config】点【HTTP】选项卡

【Proxymitron's proxy port number】是浏览器用作代理的端口,设置一个空闲的端口

【OK】选上主界面中的【Outgoing Header Filter】

点【Proxy】按钮,输入【127.0.0.1:4444】【OK】

在浏览器里设好刚才的端口,OK:-)

2. pac 文件[Bearbeiten]

打开记事本保存如下内容为.txt

   function FindProxyForURL(url, host) {
   	if (host.substring(4)==".i2p") {
   		return "PROXY 127.0.0.1:4444";
   	}
   else 
   {
   		return "DIRECT";
   	}
   }

*.txt改名为*.pac

打开浏览器设置找到类似自动代理设置链接的位置输入pac文件的位置: file:// ....../abcd.pac

确定退出,OK

(如果不好使,在file再加一个/成为"file:///")

URI Based Proxy Switching for I2P on Windows[Bearbeiten]

  • two alternative solutions work for most browsers.


1. proxomitron proxy chaining[Bearbeiten]

  • Download proxomitron by googling "proxomitron"

Open Proxomitron, Click Headers button

Click New and input the following:

[see the above table]

note: no leading space.

Click OK, Tick in the Out column for this rule.Clikc OK

Click Config Button in the Main window, Click HTTP tab

"Proxymitron's proxy port number" is the port used in browser. configure it to a free port.

Clikc OK, tick Outgoing header filter on the main interface.

Click Proxy button. fill in "127.0.0.1:4444", Click OK

set proxy in browser to the port you specified. done.


2. pac script[Bearbeiten]

  • open your notepad n save the follow content as txt file.

[see the above code block]

rename the .txt as .pac

set this file's location as the automatic proxy configuration url in your browser. (or settings of a similar name. the specific name may vary) file://.../xxx.pac done if it doesnt work. change file:// to file:///