You can not select more than 25 topics 
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 
		
		
		
		
		
			
	
	
		
			
	
		
			This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
		 
	
		
		
			
				
				
					
						
						
						
							---
 
						
						
						
							layout: post
 
						
						
						
							title: i2pd在服务器上的使用体验
 
						
						
						
							tags: [i2p, 隐私, 网络]
 
						
						
						
							---
 
						
						
						
							
 
						
						
						
							  Java果不其然是垃圾😁, ! <!--more-->     
 
						
						
						
							
 
						
						
						
							# 起因
  
						
						
						
							, , , , ,  
						
						
						
							  不过最近我看到有一个使用C++实现的i2p, , ,  
						
						
						
							
 
						
						
						
							# 探索过程
  
						
						
						
							, , , , , , :  
						
						
						
							```json
  
						
						
						
							{ 
 
						
						
						
							  "log" :  { 
 
						
						
						
							    "loglevel" :  "warning" 
 
						
						
						
							  }, 
 
						
						
						
							  "routing" :  { 
 
						
						
						
							    "domainStrategy" :  "AsIs" , 
 
						
						
						
							    "strategy" :  "rules" , 
 
						
						
						
							    "settings" :  { 
 
						
						
						
							      "rules" :  [ 
 
						
						
						
							        { 
 
						
						
						
							          "type" :  "field" , 
 
						
						
						
							          "domain" :  [ 
 
						
						
						
							            "regexp:\\.onion$" 
 
						
						
						
							          ], 
 
						
						
						
							          "outboundTag" :  "tor" 
 
						
						
						
							        }, 
 
						
						
						
							        { 
 
						
						
						
							          "type" :  "field" , 
 
						
						
						
							          "domain" :  [ 
 
						
						
						
							            "regexp:\\.i2p$" 
 
						
						
						
							          ], 
 
						
						
						
							          "outboundTag" :  "i2p" 
 
						
						
						
							        }, 
 
						
						
						
							        { 
 
						
						
						
							          "type" :  "field" , 
 
						
						
						
							          "outboundTag" :  "block" , 
 
						
						
						
							          "protocol" :  [ 
 
						
						
						
							            "bittorrent" 
 
						
						
						
							          ] 
 
						
						
						
							        } 
 
						
						
						
							      ] 
 
						
						
						
							    } 
 
						
						
						
							  }, 
 
						
						
						
							
 
						
						
						
							  "inbounds" :  [ 
 
						
						
						
							    { 
 
						
						
						
							      "sniffing" :  { 
 
						
						
						
							        "enabled" :  true , 
 
						
						
						
							        "destOverride" :  [ 
 
						
						
						
							          "http" , 
 
						
						
						
							          "tls" 
 
						
						
						
							        ] 
 
						
						
						
							      }, 
 
						
						
						
							      "listen" :  "/dev/shm/proxy.sock" , 
 
						
						
						
							      "protocol" :  "vless" , 
 
						
						
						
							      "settings" :  { 
 
						
						
						
							        "udp" :  false , 
 
						
						
						
							        "clients" :  [ 
 
						
						
						
							          { 
 
						
						
						
							            "id" :  "***" , 
 
						
						
						
							            "alterId" :  0 , 
 
						
						
						
							            "flow" :  "" 
 
						
						
						
							          } 
 
						
						
						
							        ], 
 
						
						
						
							        "decryption" :  "none" , 
 
						
						
						
							        "allowTransparent" :  false 
 
						
						
						
							      }, 
 
						
						
						
							      "streamSettings" :  { 
 
						
						
						
							        "network" :  "ws" , 
 
						
						
						
							        "security" :  "none" , 
 
						
						
						
							        "wsSettings" :  { 
 
						
						
						
							          "path" :  "***" , 
 
						
						
						
							          "headers" :  { 
 
						
						
						
							            "Host" :  "***" 
 
						
						
						
							          } 
 
						
						
						
							        } 
 
						
						
						
							      } 
 
						
						
						
							    } 
 
						
						
						
							  ], 
 
						
						
						
							  "outbounds" :  [ 
 
						
						
						
							    { 
 
						
						
						
							      "protocol" :  "freedom" 
 
						
						
						
							    }, 
 
						
						
						
							    { 
 
						
						
						
							      "protocol" :  "socks" , 
 
						
						
						
							      "settings" :  { 
 
						
						
						
							        "servers" :  [ 
 
						
						
						
							          { 
 
						
						
						
							            "address" :  "127.0.0.1" , 
 
						
						
						
							            "port" :  9050 
 
						
						
						
							          } 
 
						
						
						
							        ] 
 
						
						
						
							      }, 
 
						
						
						
							      "tag" :  "tor" 
 
						
						
						
							    }, 
 
						
						
						
							    { 
 
						
						
						
							      "protocol" :  "http" , 
 
						
						
						
							      "settings" :  { 
 
						
						
						
							        "servers" :  [ 
 
						
						
						
							          { 
 
						
						
						
							            "address" :  "127.0.0.1" , 
 
						
						
						
							            "port" :  4444 
 
						
						
						
							          } 
 
						
						
						
							        ] 
 
						
						
						
							      }, 
 
						
						
						
							      "tag" :  "i2p" 
 
						
						
						
							    }, 
 
						
						
						
							    { 
 
						
						
						
							      "protocol" :  "blackhole" , 
 
						
						
						
							      "tag" :  "block" 
 
						
						
						
							    } 
 
						
						
						
							  ] 
 
						
						
						
							} 
 
						
						
						
							``` 
 
						
						
						
							  顺便再提醒一下,这样的配置**不能**匿名, , , , , ( )  
						
						
						
							  另外如果只是访问还有一种更加不匿名的方式, , ,  
						
						
						
							  配置好之后试着用电脑上了一下, , , , , ,  
						
						
						
							# 建站体验
  
						
						
						
							, , , , , , , , , , , ,  
						
						
						
							  算好喜欢的私钥之后, , , , , , , , ,  
						
						
						
							  配置好之后网站就可以访问了, , , , , , < http: // reg . i2p / add >  或者 < http: // stats . i2p / i2p / addkey . html >  里面,然后过段时间等他们收录了之后就可以使用了。
 
						
						
						
							
 
						
						
						
							# 感想
  
						
						
						
							, , , , , ~~( )