iotcat 3 years ago
parent 7b8671372b
commit 54d8c50f2e
  1. 14
      index.html
  2. 104
      instr/.gitignore
  3. 1
      instr/CNAME
  4. 20
      instr/README.md
  5. 1
      instr/_404.md
  6. 10
      instr/_coverpage.md
  7. 3
      instr/_navbar.md
  8. 4
      instr/_sidebar.md
  9. 356
      instr/advanced.md
  10. 24
      instr/changelog.md
  11. 76
      instr/en/README.md
  12. 10
      instr/en/_coverpage.md
  13. 3
      instr/en/_navbar.md
  14. 4
      instr/en/_sidebar.md
  15. 355
      instr/en/advanced.md
  16. 24
      instr/en/changelog.md
  17. 454
      instr/en/usage.md
  18. BIN
      instr/img/v2rayN_ico.png
  19. BIN
      instr/img/v2rayN_ico_red.png
  20. 147
      instr/index.html
  21. 77
      instr/index.md
  22. BIN
      instr/logo/logo.png
  23. BIN
      instr/logo/logo_img.png
  24. 17
      instr/package.json
  25. 83
      instr/sw.js
  26. 469
      instr/usage.md
  27. 1366
      instr/yarn.lock

@ -6,14 +6,14 @@
-->
<html>
<head>
<title>Ushio V2ray</title>
<title>Ushio Net</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<script type="text/javascript">block_aplayer = true;lang = ['zh'];</script>
<script src="https://cdn.yimian.xyz/ushio-js/ushio-head.min.js"></script>
<script type="text/javascript">page.auth = ['tel']; page.proj = 'iotcat/ushio-v2ray';</script>
<script type="text/javascript">page.auth = ['tel']; page.proj = 'iotcat/ushio-net';</script>
<script type="text/javascript">//page.group = ['v2ray', 'admin']</script>
</head>
<body class="is-preload">
@ -21,7 +21,7 @@
<!-- Header -->
<header id="header">
<div class="content">
<h1><a href="#">V2ray</a></h1>
<h1><a href="#">Ushio-Net</a></h1>
<p id="info"></p>
<p>扫描以上二维码迅速添加~<br />
你也可以将下方链接添加到v2ray订阅</p>
@ -30,7 +30,7 @@
<input type="text" id="sub" ><br/>
<ul class="actions">
<li><a href="#" class="button primary icon solid fa-chevron-down scrolly" id="copy">Copy</a></li>
<li><a href="https://onedrive.yimian.xyz/packages/programs/all/v2ray/" class="button icon solid fa-download">Download</a></li>
<li><a href="/intro" class="button icon solid fa-book">教程</a></li>
</ul>
</div>
<div class="image phone"><div class="inner"><!--<img src="images/screen.jpg" alt="" />--><div id="qrcode"></div></div></div>
@ -62,7 +62,7 @@
});
tips.info({
message: '身份认证中..请稍等..',
timeout: 5000
timeout: 10000
});
session.onload(()=>{
$('#sub').val('https://api.yimian.xyz/v2ray/?hash='+session.get('hash'));
@ -82,14 +82,14 @@
var i = 0;
function next(){
$('#info').html('<strong>host:</strong> '+ arr[i%s.length]['host']);
$('#info').html('<strong>host:</strong> '+ arr[i%s.length]['ps']);
qrcode.makeCode(s[i++%s.length]);
}
next();
if(arr.length > 1){
tips.show({
message: '点击二维码可以切换哦~',
timeout: 25000
timeout: 35000
});
}
$('#qrcode').click(function(){

104
instr/.gitignore vendored

@ -0,0 +1,104 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port

@ -0,0 +1 @@
wiot.js.org

@ -0,0 +1,20 @@
# wIoT-pages
> Documents for wIoT
## Ussage
### Install Dependencies
```shell
$ npm install
```
### Local Browse
```shell
$ npm run serve
```
Use browser to visit `http://localhost:3000`

@ -0,0 +1 @@
# 找不到了

@ -0,0 +1,10 @@
![logo](/logo/logo_img.png ':size=230x230')
# Ushio-Net <small>0.1</small>
>
- 连接全世界
[GitHub](https://github.com/iotcat/ushio-net/)
[开始](#Ushio-Net)

@ -0,0 +1,3 @@
- Language
- [:cn: 中文 ](/)
- [:uk: English &nbsp;&nbsp;&nbsp;](/en/)

@ -0,0 +1,4 @@
* [概览](/)
* [使用方法](/usage)
* [进阶](/advanced)
* [开发日志](/changelog)

@ -0,0 +1,356 @@
# 综述
Ushio-Net网络基于[V2Ray](https://www.v2ray.com/),是通过在两台服务器(Los_Angeles, China-Taian)以及客户终端上部署V2Ray组件实现的跨区域私密隧道网络。
?> 您可以通过[这个网站](https://monitor.yimian.xyz)查看服务器集群的实时状态。
# v-usa线路
## 架构设计
```mermaid
graph LR
subgraph net [Ushio-Net]
Los_Angeles
China-Taian
end
用户客户端 --vmess---> Los_Angeles --freedom---> usa(外部网络)
```
如上图所示,v-usa线路中,国内用户通过客户端将数据加密,使用vmess协议发送至Los\_Angeles服务器,Los\_Angeles服务器解密后将其以先前协议重新发往外部网络。
## V2Ray配置
```js
{
"inbounds": [
{
"port": 10808,
"protocol": "vmess",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "blocked"
},
{
"type": "field",
"inboundTag": [
"tg-in"
],
"outboundTag": "tg-out"
},
{
"type": "field",
"domain": [
"domain:epochtimes.com",
"domain:epochtimes.com.tw",
"domain:epochtimes.fr",
"domain:epochtimes.de",
"domain:epochtimes.jp",
"domain:epochtimes.ru",
"domain:epochtimes.co.il",
"domain:epochtimes.co.kr",
"domain:epochtimes-romania.com",
"domain:erabaru.net",
"domain:lagranepoca.com",
"domain:theepochtimes.com",
"domain:ntdtv.com",
"domain:ntd.tv",
"domain:ntdtv-dc.com",
"domain:ntdtv.com.tw",
"domain:minghui.org",
"domain:renminbao.com",
"domain:dafahao.com",
"domain:dongtaiwang.com",
"domain:falundafa.org",
"domain:wujieliulan.com",
"domain:ninecommentaries.com",
"domain:shenyun.com"
],
"outboundTag": "blocked"
},
{
"type": "field",
"protocol": [
"bittorrent"
],
"outboundTag": "blocked"
}
]
}
}
```
如上文所示,用户数据以vmess-ws形式进入服务器,然后服务器将以freedom形式将与外界建立连接。在路由过程中,我们对对局域网地址的请求,部分垃圾网站请求,以及种子进行了屏蔽丢包。
# v-china线路
## 架构设计
```mermaid
graph LR
subgraph net [Ushio-Net]
Los_Angeles
China-Taian
end
用户客户端 --vmess---> Los_Angeles --vmess---> China-Taian --freedom---> china(国内网络)
Los_Angeles --geosite:geolocation-!cn freedom---> usa(外部网络)
```
如上图所示,v-china线路中,国外用户通过客户端将数据加密,使用vmess协议发送至Los\_Angeles服务器,Los\_Angeles服务器通过反向代理将流量转发至国内China-Taian这一个没有公网IP的服务器,China-Taian将流量解密后将其以先前协议重新发往外部网络。
## V2Ray配置
### Los_Angeles
```js
{
"reverse": {
"portals": [
{
"tag": "portal",
"domain": "usa-china.tunnel.yimian.xyz"
}
]
},
"inbounds": [
{
"tag": "external",
"port": 80,
"protocol": "vmess",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
},
{
"tag": "tunnel",
"port": 81,
"protocol": "vmess",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws",
"path": "/"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"external"
],
"domain": [
"geosite:geolocation-!cn"
],
"outboundTag": "freedom"
},
{
"type": "field",
"inboundTag": [
"external"
],
"outboundTag": "portal"
},
{
"type": "field",
"inboundTag": [
"tunnel"
],
"domain": [
"full:usa-china.tunnel.yimian.xyz"
],
"outboundTag": "portal"
}
]
}
}
```
如上文所示,用户数据以vmess-ws形式进入服务器,然后服务器将其以反向代理方式传入两个服务器之间的vmess通道。在路由过程中,如果发现请求目标是国外的常见网站,比如google, youtube, 则不再发往China-Taian而是直接与网站服务器以freedom建立联系。
### China-Taian
```js
{
"reverse": {
"bridges": [
{
"tag": "bridge",
"domain": "usa-china.tunnel.yimian.xyz"
}
]
},
"outbounds": [
{
"tag": "tunnel",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "v-china-tunnel.yimian.xyz",
"port": 443,
"users": []
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "v-china-tunnel.yimian.xyz"
},
"wsSettings": {
"connectionReuse": true,
"path": "/",
"headers": {
"Host": "v-china-tunnel.yimian.xyz"
}
}
}
},
{
"protocol": "freedom",
"settings": {
},
"tag": "out"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"dns": {
"servers": [
"localhost"
]
},
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "blocked"
},
{
"type": "field",
"inboundTag": ["bridge"],
"domain": ["full:usa-china.tunnel.yimian.xyz"],
"outboundTag": "tunnel"
},
{
"type": "field",
"inboundTag": ["bridge"],
"outboundTag": "out"
}
]
}
}
```
China-Taian服务器将两服务器间隧道传来的流量解密,并以freedom形式将与外界建立连接。在路由过程中,我们对对局域网地址的请求,部分垃圾网站请求,以及种子进行了屏蔽丢包。
----------------
[<kbd>&rarr;</kbd> 下一页](/changelog)

@ -0,0 +1,24 @@
# Todo
- [ ] 自动化授权
- [ ] 自动化结算
- [ ] 修复谷歌学术
- [ ] 访问日志及流量统计查询系统
# 更新日志
- [x] 发布Ushio-Net文档 2021-08-20
- [x] v-china线路调试完成 2021-08-19
- [x] China-Taian服务器接入,进入双服务器时代 2021-08-19
- [x] v-usa线路dns优化 2021-08-18
- [x] 开始使用Ushio-Login管理用户 2020-10-05
- [x] 完成订阅系统API的开发 2020-08-23
- [x] v-usa线路调试完成并开始提供服务 2020-06-04
- [x] 切换到洛杉矶服务器 2020-06-03
- [x] 协议由ss切换为vmess+ws+tls 2020-05-22
- [x] 切换到香港服务器 2020-05-21
- [x] 在英国服务器部署ss,开始提供服务 2020-03-23

@ -0,0 +1,76 @@
# Ushio-Net
![contributors](https://img.shields.io/github/contributors/iotcat/ushio-net)
![last commit](https://img.shields.io/github/last-commit/iotcat/ushio-net)
[![github star](https://img.shields.io/github/stars/iotcat/ushio-net?style=social)](https://github.com/iotcat/ushio-net)
[![github forks](https://img.shields.io/github/forks/iotcat/ushio-net?style=social)](https://github.com/IoTcat/ushio-net/)
[![gitHub watchers](https://img.shields.io/github/watchers/iotcat/ushio-net?style=social)](https://github.com/IoTcat/ushio-net/)
> Link the entire world!
# Fundamental
Ushio-Net is a global high-speed private agent network, dedicated to helping users access to agents around the world.
Currently, Ushio-Net has supported the following two services.
## Access to external networks from mainland China
```mermaid
graph LR
user-client --> net((Ushio-Net)) --> usa(web)
```
Users in China use a dedicated software client (V2Ray client) to connect devices (mobile phones, computers, tablets, routers) to Ushio-Net, thereby achieving access to the Internet outside the `GFW firewall`.
This method can help domestic users to access the following services including but not limited to:
-All Google services
-YouTube
-WiKipedia
-Facebook
-HSBC APP
-Twitter
-Telegram
-Github speed up
-npm speed up
-Instagram
-WhatsApp
-Spotify
In addition, users can manually configure the client to achieve acceleration of more foreign websites and anonymous access to specific websites (not revealing your real IP).
## Visit the mainland network from abroad
```mermaid
graph LR
user-client --> net((Ushio-Net)) --> china(web)
```
Users abroad use a dedicated software client (V2Ray client) to connect devices (mobile phones, computers, tablets, routers) to Ushio-Net, so as to achieve proxy access to the Chinese Internet.
This method can help foreign users break the copyright restrictions of many domestic websites and use their services as if they were in China. These domestic services include but are not limited to the following:
-NetEase Cloud Music
-Tencent Video
-Bilibili
-Iqiyi video
-QQ Music
- NetEase mailbox
-Youku Video
In addition, users can manually configure the client to achieve acceleration of more domestic websites and anonymous access to specific websites (not revealing your real IP).
----------------
[<kbd>&rarr;</kbd> Next](/en/usage)

@ -0,0 +1,10 @@
![logo](/logo/logo_img.png ':size=230x230')
# Ushio-Net <small>0.1</small>
>
- Link the whole world!
[GitHub](https://github.com/iotcat/ushio-net/)
[Start](#Ushio-Net)

@ -0,0 +1,3 @@
- Language
- [:cn: 中文 ](/)
- [:uk: English &nbsp;&nbsp;&nbsp;](/en/)

@ -0,0 +1,4 @@
* [Introduction](/en/)
* [Get Started](/en/usage)
* [Advanced](/en/advanced)
* [Change Log](/en/changelog)

@ -0,0 +1,355 @@
# Summary
Ushio-Net network is based on [V2Ray](https://www.v2ray.com/), which is a cross-regional private tunnel network implemented by deploying V2Ray components on two servers (Los_Angeles, China-Taian) and client terminals.
?> You can check the real-time status of the server cluster through [this website](https://monitor.yimian.xyz).
# v-usa line
## Architecture Design
```mermaid
graph LR
subgraph net [Ushio-Net]
Los_Angeles
China-Taian
end
client --vmess---> Los_Angeles --freedom---> usa(web)
```
As shown in the figure above, in the v-usa line, domestic users encrypt data through the client and send it to the Los\_Angeles server using the vmess protocol. The Los\_Angeles server decrypts it and resends it to the external network using the previous protocol.
## V2Ray configuration
```js
{
"inbounds": [
{
"port": 10808,
"protocol": "vmess",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "blocked"
},
{
"type": "field",
"inboundTag": [
"tg-in"
],
"outboundTag": "tg-out"
},
{
"type": "field",
"domain": [
"domain:epochtimes.com",
"domain:epochtimes.com.tw",
"domain:epochtimes.fr",
"domain:epochtimes.de",
"domain:epochtimes.jp",
"domain:epochtimes.ru",
"domain:epochtimes.co.il",
"domain:epochtimes.co.kr",
"domain:epochtimes-romania.com",
"domain:erabaru.net",
"domain:lagranepoca.com",
"domain:theepochtimes.com",
"domain:ntdtv.com",
"domain:ntd.tv",
"domain:ntdtv-dc.com",
"domain:ntdtv.com.tw",
"domain:minghui.org",
"domain:renminbao.com",
"domain:dafahao.com",
"domain:dongtaiwang.com",
"domain:falundafa.org",
"domain:wujieliulan.com",
"domain:ninecommentaries.com",
"domain:shenyun.com"
],
"outboundTag": "blocked"
},
{
"type": "field",
"protocol": [
"bittorrent"
],
"outboundTag": "blocked"
}
]
}
}
```
As shown above, user data enters the server in the form of vmess-ws, and then the server will establish a connection with the outside world in the form of freedom. During the routing process, we shielded and dropped packets from requests for LAN addresses, some spam website requests, and seeds.
# v-china line
## Architecture Design
```mermaid
graph LR
subgraph net [Ushio-Net]
Los_Angeles
China-Taian
end
user-client --vmess---> Los_Angeles --vmess---> China(web)
```
As shown in the figure above, in the v-china line, foreign users encrypt data through the client and send it to the Los\_Angeles server using the vmess protocol. The Los\_Angeles server forwards the traffic to the domestic China-Taian through a reverse proxy. Network IP server, China-Taian decrypts the traffic and resends it to the external network using the previous protocol.
## V2Ray configuration
### Los_Angeles
```js
{
"reverse": {
"portals": [
{
"tag": "portal",
"domain": "usa-china.tunnel.yimian.xyz"
}
]
},
"inbounds": [
{
"tag": "external",
"port": 80,
"protocol": "vmess",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
},
{
"tag": "tunnel",
"port": 81,
"protocol": "vmess",
"settings": {
"clients": []
},
"streamSettings": {
"network": "ws",
"path": "/"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
},
"tag": "direct"
}
],
"routing": {
"rules": [
{
"type": "field",
"inboundTag": [
"external"
],
"domain": [
"geosite:geolocation-!cn"
],
"outboundTag": "freedom"
},
{
"type": "field",
"inboundTag": [
"external"
],
"outboundTag": "portal"
},
{
"type": "field",
"inboundTag": [
"tunnel"
],
"domain": [
"full:usa-china.tunnel.yimian.xyz"
],
"outboundTag": "portal"
}
]
}
}
```
As shown above, user data enters the server in the form of vmess-ws, and then the server transfers it to the vmess channel between the two servers in a reverse proxy mode. During the routing process, if the request target is found to be a common foreign website, such as google, youtube, it will no longer be sent to China-Taian but will directly establish contact with the website server through freedom.
### China-Taian
```js
{
"reverse": {
"bridges": [
{
"tag": "bridge",
"domain": "usa-china.tunnel.yimian.xyz"
}
]
},
"outbounds": [
{
"tag": "tunnel",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "v-china-tunnel.yimian.xyz",
"port": 443,
"users": []
}
]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"serverName": "v-china-tunnel.yimian.xyz"
},
"wsSettings": {
"connectionReuse": true,
"path": "/",
"headers": {
"Host": "v-china-tunnel.yimian.xyz"
}
}
}
},
{
"protocol": "freedom",
"settings": {
},
"tag": "out"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"dns": {
"servers": [
"localhost"
]
},
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"outboundTag": "blocked"
},
{
"type": "field",
"inboundTag": ["bridge"],
"domain": ["full:usa-china.tunnel.yimian.xyz"],
"outboundTag": "tunnel"
},
{
"type": "field",
"inboundTag": ["bridge"],
"outboundTag": "out"
}
]
}
}
```
The China-Taian server decrypts the traffic from the tunnel between the two servers and establishes a connection with the outside world in the form of freedom. During the routing process, we shielded and dropped packets from requests for LAN addresses, some spam website requests, and seeds.
----------------
[<kbd>&rarr;</kbd> Next](/en/changelog)

@ -0,0 +1,24 @@
# Todo
- [ ] Automation Authorization
- [ ] Automated settlement
- [ ] Fix Google Scholar
- [ ] Access log and traffic statistics query system
# Update log
- [x] Ushio-Net document released 2021-08-20
- [x] v-china circuit commissioning completed 2021-08-19
- [x] China-Taian server access, entering the dual server era 2021-08-19
- [x] v-usa line dns optimization 2021-08-18
- [x] Start using Ushio-Login to manage users 2020-10-05
- [x] Complete the development of the subscription system API 2020-08-23
- [x] The commissioning of the v-usa line is completed and the service begins 2020-06-04
- [x] Switch to Los Angeles server 2020-06-03
- [x] The protocol is switched from ss to vmess+ws+tls 2020-05-22
- [x] Switch to Hong Kong server 2020-05-21
- [x] Deployed ss in the UK server and started to provide services 2020-03-23

@ -0,0 +1,454 @@
# User registration
Ushio-Net uses the Ushio system for user management.
If you have not registered, please [click here](https://login.yimian.xyz/?require=tel) to register.
# Authorization
After completing the registration, please contact me (WeChat or [Mail](mailto:i@iotcat.me)) to authorize you.
Taking into account the particularity of the service, in principle, <mark>Ushio-Net only authorizes people who meet one of the following conditions</mark>.
-People I know
-Someone my friend knows
-Members of XJTLU
-Members of University of Liverpool
-Members of Cornell University
!> The user must promise to **never use this service for any behavior that may endanger China's national security**!
# Configure the client
## introduce
<!-- tabs:start -->
#### **Win10**
Win10 has some open source graphical clients that support the V2ray kernel, such as [V2RayN](https://github.com/2dust/v2rayN), [V2RayW](https://github.com/Cenmrev/V2RayW), [clash ](https://github.com/Fndroid/clash_for_windows_pkg), [Qv2ray](https://github.com/lhy0403/Qv2ray), [Mellow](https://github.com/mellow-io/mellow) Wait.
This article will introduce how to configure <mark>V2RayN<sub>V3.21</sub></mark> as your Ushio-Net client.
#### **Android**
Android has some graphical clients that support the V2ray kernel, such as [V2RayNG](https://github.com/2dust/v2rayNG), [BifrostV](https://play.google.com/store/apps/details? id=com.github.dawndiy.bifrostv), [Kitsunebi](https://play.google.com/store/apps/details?id=fun.kitsunebi.kitsunebi4android&hl=en_US) etc.
This article will introduce how to configure <mark>V2RayNG<sub>V1.6.16</sub></mark> as your Ushio-Net client.
#### **IOS/IPad**
IOS/IPad has some graphical clients that support the V2ray kernel, such as [Shadowrocket](https://itunes.apple.com/us/app/shadowrocket/id932747118?mt=8), [i2Ray](https:// itunes.apple.com/us/app/i2ray/id1445270056?mt=8), [Kitsunebi](https://itunes.apple.com/us/app/kitsunebi-proxy-utility/id1446584073?mt=8) etc. .
This article will introduce how to configure <mark>Shadowrocket<sub>V2.1.83</sub></mark> as your Ushio-Net client.
#### **Mac**
Mac has some open source graphical clients that support the V2ray kernel, such as [V2RayU](https://github.com/yanue/V2rayU), [V2RayX](https://github.com/Cenmrev/V2RayX), [V2RayC ](https://github.com/gssdromen/V2RayC) etc.
Since I do not have a Mac device in my hand, I do not provide a Mac configuration tutorial for the time being, only a domestic download link of V2RayU is provided.
#### **Linux**
Linux has some open source graphical clients that support the V2ray kernel, such as [Qv2ray](https://github.com/lhy0403/Qv2ray), [Mellow](https://github.com/mellow-io/mellow), etc. .
Since I do not have a Linux device in my hand, I do not provide a Linux configuration tutorial for the time being. Please explore the configuration yourself!
<!-- tabs:end -->
## download apps
Please download and install the client from the link below!
<!-- tabs:start -->
#### **Win10**
-[V2RayN download link](https://onedrive.yimian.xyz/packages/programs/all/v2ray/Windows_v2rayN-Core.zip)
-[V2Ray alternate link](https://github.com/2dust/v2rayN/releases/download/3.21/v2rayN-Core.zip)
-[V2Ray Backup Link 2](https://proxy.yimian.xyz/get/?url=aHR0cHM6Ly9naXRodWIuY29tLzJkdXN0L3YycmF5Ti9yZWxlYXNlcy9kb3dubG9hZC8zLjIxL3ppycmF5L3PycmF5)
#### **Android**
-[V2RayNG download link](https://onedrive.yimian.xyz/packages/programs/all/v2ray/Android_v2rayNG_1.6.16.apk)
-[V2Ray alternate link](https://github.com/2dust/v2rayNG/releases/download/1.6.16/v2rayNG_1.6.16.apk)
-[V2Ray Standby Link 2](https://proxy.yimian.xyz/get/?url=aHR0cHM6Ly9naXRodWIuY29tLzJkdXN0L3YycmF5TkcvcmVsZWFzZXMvZG93bmxvYWQvMS42LjEwE5Ew3Yycm)
#### **IOS/IPad**
Please refer to [this link](https://shadowsockshelp.github.io/ios/).
#### **Mac**
-[V2RayU download link](https://onedrive.yimian.xyz/packages/programs/all/v2ray/Mac_V2rayU.dmg)
-[V2RayU alternate link](https://github.com/yanue/V2rayU/releases/download/2.3.1/V2rayU.dmg)
-[V2RayU Backup Link 2](https://proxy.yimian.xyz/get/?url=aHR0cHM6Ly9naXRodWIuY29tL3lhbnVlL1YycmF5VS9yZWxlYXNlcy9kb3dubG9hZC8yLjMuMS9WMnJheV)
#### **Linux**
<!-- tabs:end -->
## Install the client
!> Please make sure that there is no other V2Ray software running on your device! !
<!-- tabs:start -->
#### **Win10**
1. Please unzip the downloaded compressed file to your computer, such as `C:\v2ray\v2rayN-Core`.
1. Double-click to open `C:\v2ray\v2rayN-Core\v2rayN.exe` or `C:\v2ray\v2rayN-Core\v2rayN`.
#### **Android**
Please install the downloaded installation package.
?> If you are prompted that it cannot be installed, please enable it from the phone settings **Allow installation of external source applications**
#### **IOS/IPad**
Please download and install Shadowrocket according to the above URL.
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## Setting up the client
!> If you encounter any problems, please leave a message in the comment area below!
<!-- tabs:start -->
#### **Win10**
1. Please find the V icon! [v2rayN icon](/img/v2rayN_ico.png) in the **taskbar** at the bottom right corner of the screen and click.
?> **Note** The taskbar may be automatically collapsed, please expand the taskbar to find!
1. In the pop-up window, select <mark>Parameter Settings</mark>.
1. Find the v2rayN setting, and check the <mark>Startup at boot</mark>.
1. Click the <mark>OK</mark> button.
#### **Android**
1. Open v2rayNG.
1. Click the three dots in the upper right corner and select <mark>Delete all configurations</mark>.
1. Go to mobile phone system settings->>application->>application startup management, turn off the system's automatic management of V2RayNG, and give V2RayNG all permissions (allowing self-starting, allowing associated startup, allowing background activities, etc.)! ! !
?> Here I use the steps of the Huawei system, similar to other mobile phones.
?> For some mobile phones (such as Huawei), you can set v2rayNG as the notification bar resident, so that you can switch V2RayNG as convenient as switching WiFi.
#### **IOS/IPad**
1. Open Shadowrocket.
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## Subscribe to Ushio-Net
<!-- tabs:start -->
#### **Win10**
1. [Click here](https://v2ray.yimian.xyz/) to view your Ushio-Net subscription information.
1. Please click the <mark>Copy</mark> button on the webpage.
1. Back to the main page of V2RayN, click on the above <mark>Subscription->>Subscription Settings</mark>.
1. In the subscription settings window, click <mark>Add</mark> at the bottom left.
1. Paste the copied content into the <mark>address</mark>.
1. Click <mark>OK</mark> below.
1. Back to the main page of V2RayN, click on the above <mark>Subscribe->>Update Subscription</mark>.
1. If a new server appears in the main window, it means that the subscription is successful.
#### **Android**
1. Use your mobile browser to open [https://v2ray.yimian.xyz](https://v2ray.yimian.xyz/) to view your Ushio-Net subscription information.
1. Please click the <mark>Copy</mark> button on the webpage.
1. Reopen the main page of V2RayNG and click on the three bars at the top left of <mark>->>Subscription Settings</mark>.
1. Click on the <mark>plus sign</mark> at the top right.
1. Paste the content just copied from the webpage into the <mark>address</mark>.
1. Just fill in something in the remarks.
1. Click <mark>the check mark in the upper right corner</mark>.
1. Back to the main page, click on the three dots in the upper right corner of <mark>->>Update Subscription</mark>.
1. If a new server is observed on the main page, it means that the subscription is successful.
#### **IOS/IPad**
1. Open [https://v2ray.yimian.xyz](https://v2ray.yimian.xyz/) with IOS/IPad browser to view your Ushio-Net subscription information.
1. Please click the <mark>Copy</mark> button on the webpage.
1. Reopen the main page of Shadowrocket and click <mark>the plus sign in the upper right corner</mark>.
1. Type select <mark>Subscribe</mark>.
1. Paste the content just copied from the web page into <mark>URL</mark>.
1. Go back to the main page and click on the newly appeared server node (usually `api.yimian.xyz`).
1. If multiple new servers appear below, it means that the subscription is successful.
#### **Mac**
#### **Linux**
<!-- tabs:end -->
----------------
## Configure the client-access to the external network
!> **Note** The current access to the Internet is domestic. <mark>Visit domestic from abroad [see below](/usage?id=Configure client-return to China)</mark>.
<!-- tabs:start -->
#### **Win10**
1. On the main page of V2rayN, **right-click** the server whose alias is <mark>Los_Angeles</mark>, and select <mark>Set as Active Server</mark>.
1. On the main page of V2RayN, click on the above <mark>Parameter Settings</mark>.
1. Click <mark>Core:Routing Settings</mark>.
1. Click <mark>One-click to set default custom routing rules</mark>.
1. <mark>Domain name resolution strategy</mark> is set to <mark>IPIfNonMatch</mark>.
1. Click <mark>OK</mark> below.
#### **Android**
1. On the main page of V2RayNG, click <mark>three bars in the upper left corner ->>Settings</mark>.
1. Click <mark>Sub-application proxy</mark> and make sure the <mark>Sub-application proxy</mark> option is turned on.
1. In the sub-application proxy, click the three dots in the upper right corner of <mark>->>Automatically select the application to be proxy</mark>.
1. At this time, some applications should be selected. You can fine-tune it according to your needs and choose the APP that you think needs to be over the wall.
1. Click the arrow in the upper left corner to return to the settings page.
1. On the settings page, find the <mark>domain name strategy</mark> and set it to <mark>IPIfNonMatch</mark>.
1. On the settings page, find the <mark>predefined rules</mark> and set it to <mark>bypass LAN and mainland addresses</mark>.
1. Return to the main page, click to select the item `Los_Angeles`, and make the left side of it turn green.
#### **IOS/IPad**
1. On the main page of Shadowrocket, click <mark>Configuration</mark> below.
1. Click <mark>Restore default configuration</mark>, and click <mark>OK</mark> in the pop-up window.
1. On the main Shadowrocket page, click on the <mark>Homepage</mark> below.
1. Click on `Los_Angeles` to make a yellow dot appear on the left side of it.
1. Click <mark>Global Routing->>Configuration</mark>.
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## Use Ushio-Net-Access to the Internet
<!-- tabs:start -->
#### **Win10**
**Enable Internet access**
-Please find the V icon in the **taskbar** at the bottom right corner of the screen! [v2rayN icon](/img/v2rayN_ico.png) and click <mark>**right click**</mark>, select <mark>Http proxy- >>Open Http proxy, and automatically configure the system proxy (global mode)</mark>.
?> After completing this operation, you will be able to use your browser to access Google and other services. Domestic websites will be connected directly without going through a proxy. This mode is <mark>**recommended for long-term use**</mark>!
**Close Internet access**
-Please find the V icon in the **taskbar** at the bottom right corner of the screen! [v2rayN icon](/img/v2rayN_ico_red.png) and click <mark>**right click**</mark>, select <mark>Http Proxy- >>Close Http proxy</mark>.
?> After completing this operation, you will not be able to access Google and other services, but domestic websites can be accessed normally.
#### **Android**
**Enable Internet access**
-On the main page of V2RayNG, click the V icon in the lower right corner to turn it green.
?> After completing this operation, the APP you configured will be able to access Google and other services. Domestic websites will be connected directly without going through a proxy. This mode is <mark>**recommended for long-term use**</mark>!
?> For some mobile phones such as Huawei, you can also directly click the V icon in the status bar to start the service.
**Close Internet access**
-On the main page of V2RayNG, click the V icon in the lower right corner to make it gray.
?> After completing this operation, V2rayNG will be closed, and all your apps will not be able to access Google and other services. !
#### **IOS/IPad**
**Enable Internet access**
-Open the Shadowrocket homepage, click the first item above <mark>not connected</mark> to make it display <mark>Los_Angeles</mark>.
?> After completing this operation, you will be able to access Google and other services. Domestic websites will be connected directly without going through a proxy. This mode is <mark>**recommended for long-term use**</mark>!
**Close Internet access**
-Open the Shadowrocket homepage, click the first item above <mark>Los_Angeles</mark> to make it display <mark>not connected</mark>.
?> After completing this operation, you will not be able to access Google and other services, but domestic websites can be accessed normally.
#### **Mac**
#### **Linux**
<!-- tabs:end -->
---------------------
---------------
## Configure Client-Return to China
!> **Attention** This is a foreign visit to China. <mark>Visit abroad from domestic [see above](/usage?id=Configure client-access external network)</mark>.
<!-- tabs:start -->
#### **Win10**
1. On the main page of V2rayN, **right-click** the server aliased as <mark>China-Taian</mark>, and select <mark>Set as Active Server</mark>.
1. On the main page of V2RayN, click on the above <mark>Parameter Settings</mark>.
1. Click <mark>Core:Routing Settings</mark>.
1. **Delete** all the contents in <mark>Domian or IP of the proxy</mark>.
1. **Delete** all content in <mark>Domian or IP directly connected</mark>.
1. <mark>Predefined rules</mark> are set to <mark>global</mark>.
1. <mark>Domain name resolution strategy</mark> is set to <mark>IPIfNonMatch</mark>.
1. Click <mark>OK</mark> below.
#### **Android**
1. On the main page of V2RayNG, click <mark>three bars in the upper left corner ->>Settings</mark>.
1. Click <mark>Sub-application proxy</mark> and make sure the <mark>Sub-application proxy</mark> option is turned on.
1. On the sub-app proxy page, select all the apps that you think need to go back to China to break the IP copyright restrictions.
1. Click the arrow in the upper left corner to return to the settings page.
1. On the settings page, find the <mark>domain name strategy</mark> and set it to <mark>IPIfNonMatch</mark>.
1. On the settings page, find the <mark>predefined rules</mark> and set it to <mark>bypass the LAN address</mark>.
1. Return to the main page, click to select the item `China-Taian`, and make the left side of it turn green.
#### **IOS/IPad**
1. On the homepage of Shadowrocket, click on `China-Taian` to make a yellow dot appear on the left side of it.
1. Click <mark>Global Routing->>Proxy</mark>.
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## Use Ushio-Net-Return to China
<!-- tabs:start -->
#### **Win10**
**Enable access to China**
-Please find the V icon in the **taskbar** at the bottom right corner of the screen! [v2rayN icon](/img/v2rayN_ico.png) and click <mark>**right click**</mark>, select <mark>Http proxy- >>Open Http proxy, and automatically configure the system proxy (global mode)</mark>.
?> After completing this operation, you will be able to break IP restrictions to access domestic resources. However, the access speed of foreign websites will decrease. This mode is <mark>**not recommended for long-term use**</mark>! Please turn it on again when needed! !
**Close access to domestic**
-Please find the V icon in the **taskbar** at the bottom right corner of the screen! [v2rayN icon](/img/v2rayN_ico_red.png) and click <mark>**right click**</mark>, select <mark>Http Proxy- >>Close Http proxy</mark>.
?> After completing this operation, you will not be able to break the IP limit of domestic resources, but foreign websites will be restored to the previous access speed. <mark>**It is recommended to use this mode when you do not need to access domestic resources**</mark>!
#### **Android**
**Open the visit to return to the country**
-On the main page of V2RayNG, click the V icon in the lower right corner to turn it green.
?> After completing this operation, the APP you configured will be able to use the domestic IP to access resources, thereby breaking the IP copyright restrictions. Foreign websites will be connected directly without going through a proxy. This mode is <mark>**recommended for long-term use**</mark>!
?> For some mobile phones such as Huawei, you can also directly click the V icon in the status bar to start the service.
**Close foreign visits and return to China**
-On the main page of V2RayNG, click the V icon in the lower right corner to make it gray.
?> After completing this operation, V2rayNG will be closed, and your domestic APP will not be able to break the IP copyright restrictions!
#### **IOS/IPad**
**Open the visit to return to the country**
-Open the Shadowrocket homepage, click the first item above <mark>not connected</mark> to make it display <mark>China-Taian</mark>.
?> After completing this operation, all your apps will be able to use domestic IP to access resources, thus breaking IP copyright restrictions. Foreign websites and APPs will be directly connected without going through a proxy. This mode is <mark>**recommended for long-term use**</mark>!
**Close the visit and return to the country**
-Open the Shadowrocket homepage, click on the first item above <mark>China-Taian</mark> to make it display <mark>not connected</mark>.
?> After completing this operation, V2rayNG will be closed, and your APP will not be able to break the IP copyright restrictions!
#### **Mac**
#### **Linux**
<!-- tabs:end -->
---------------
----------------
[<kbd>&rarr;</kbd> Next](/en/advanced)

Binary file not shown.

After

Width:  |  Height:  |  Size: 848 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

@ -0,0 +1,147 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ushio-Net</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Ushio-Net - Link the entire world!">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
</head>
<body>
<div id="app">Loading...</div>
<script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
var num = 0;
mermaid.initialize({ startOnLoad: false });
window.$docsify = {
name: 'Ushio-Net',
repo: 'https://github.com/iotcat/ushio-net',
loadSidebar: true,
subMaxLevel: 2,
loadNavbar: true,
mergeNavbar: true,
coverpage: true,
homepage: 'index.md',
coverpage: ['/', '/zh-cn/'],
logo: '/logo/logo.png',
name: 'Ushio-Net',
nameLink: {
'/en/': '#/en/',
'/': '/'
},
themeColor: '#4796e3',
autoHeader: true,
themeable: {
},
tabs: {
persist : true, // default
sync : false, // default
theme : 'classic', // default
tabComments: true, // default
tabHeadings: false // default
},
formatUpdated: function(time) {
return time;
},
fallbackLanguages: ['zh-cn'],
notFoundPage: true,
search: {
paths: 'auto', // or 'auto'
placeholder: {
'/': '搜索',
'/en/': 'Type to search'
},
noData: {
'/': '找不到结果',
'/en/': 'No Results'
},
pathNamespaces: ['/zh-cn']
},
ga: 'UA-XXXXX-Y', //google analysis
tabs: {
persist : true, // default
sync : true, // default
theme : 'classic', // default
tabComments: true, // default
tabHeadings: true // default
},
count:{
countable:true,
fontsize:'0.9em',
color:'rgb(90,90,90)',
language:'english'
},
plugins: [
function(hook) {
var footer = [
'<hr/>',
'<footer>',
'<span><a href="https://iotcat.me/">IoTcat</a> &copy;2019-'+new Date().getFullYear()+'</span> |',
' <span>Powered by <a href="https://github.com/docsifyjs/docsify" target="_blank">docsify</a>.</span>',
'</footer>'
].join('');
hook.afterEach(function(html) {
return html + footer;
});
},
function(hook, vm) {
hook.ready(function () {
mermaid.initialize({startOnLoad: false});
});
hook.doneEach(function () {
mermaid.init(undefined,'.mermaid');
});
}
],
markdown: {
renderer: {
code: function(code, lang) {
var html = '';
if(code.match(/^sequenceDiagram/) || code.match(/^graph/) || code.match(/^gantt/)){
html = '<div class="mermaid">' + code + '</div>';
}
var hl = Prism.highlight(code, Prism.languages[lang] || Prism.languages.markup)
return html + '<pre v-pre data-lang="' + lang + '"><code class="lang-' + lang + '">' + hl + '</code></pre>'
}
}
},
}
</script>
<!--<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>-->
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/emoji.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/ga.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/external-script.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify@4"></script>
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-cpp.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-json.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-lua.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-yaml.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-docker.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-arduino.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-http.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.21.0/components/prism-matlab.min.js"></script>
<script>
// Offline Visit Optimization
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
</body>
</html>

@ -0,0 +1,77 @@
# Ushio-Net
![contributors](https://img.shields.io/github/contributors/iotcat/ushio-net)
![last commit](https://img.shields.io/github/last-commit/iotcat/ushio-net)
[![github star](https://img.shields.io/github/stars/iotcat/ushio-net?style=social)](https://github.com/iotcat/ushio-net)
[![github forks](https://img.shields.io/github/forks/iotcat/ushio-net?style=social)](https://github.com/IoTcat/ushio-net/)
[![gitHub watchers](https://img.shields.io/github/watchers/iotcat/ushio-net?style=social)](https://github.com/IoTcat/ushio-net/)
> Link the entire world!
# 基本原理
Ushio-Net是一个全球范围的高速私人代理网络,致力于帮助用户对全球各地网络的代理访问。
目前,Ushio-Net已支持以下两种服务。
## 从中国大陆访问外部网络
```mermaid
graph LR
用户客户端 --> net((Ushio-Net)) --> usa(外部网络)
```
用户在国内使用专用软件客户端(V2Ray客户端)将设备(手机,电脑,平板,路由器)接入到Ushio-Net,从而实现对`GFW防火墙`外互联网的访问。
此方法能够帮助国内用户对包括但不局限于以下服务进行访问:
- 所有Google服务
- YouTube
- WiKipedia
- Facebook
- HSBC APP
- Twitter
- Telegram
- Github提速
- npm提速
- Instagram
- WhatsApp
- Spotify
此外,用户可以手动配置客户端,实现对更多国外网站的加速,以及对特定网站的匿名访问(不会暴露你的真实IP)。
## 从国外访问大陆网络
```mermaid
graph LR
用户客户端 --> net((Ushio-Net)) --> china(大陆网络)
```
用户在国外使用专用软件客户端(V2Ray客户端)将设备(手机,电脑,平板,路由器)接入到Ushio-Net,从而实现对中国互联网的代理访问。
此方法能够帮助国外用户打破诸多国内网站的版权限制,从而像在国内一样使用他们的服务。这些国内服务包括但不限于下面这些:
- 网易云音乐
- 腾讯视频
- Bilibili
- 爱奇艺视频
- QQ音乐
- 网易邮箱
- 优酷视频
此外,用户可以手动配置客户端,实现对更多国内网站的加速,以及对特定网站的匿名访问(不会暴露你的真实IP)。
----------------
[<kbd>&rarr;</kbd> 下一页](/usage)

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

@ -0,0 +1,17 @@
{
"name": "ushio-v2ray-instr",
"version": "0.0.1",
"description": "Instruction for ushio-v2ray",
"main": "index.js",
"repository": "https://github.com/IoTcat/ushio-v2ray",
"scripts": {
"start": "docsify",
"serve": "docsify serve ."
},
"author": "IoTcat <i@iotcat.me>",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"docsify-cli": "^4.4.1"
}
}

@ -0,0 +1,83 @@
/* ===========================================================
* docsify sw.js
* ===========================================================
* Copyright 2016 @huxpro
* Licensed under Apache 2.0
* Register service worker.
* ========================================================== */
const RUNTIME = 'docsify'
const HOSTNAME_WHITELIST = [
self.location.hostname,
'fonts.gstatic.com',
'fonts.googleapis.com',
'cdn.jsdelivr.net'
]
// The Util Function to hack URLs of intercepted requests
const getFixedUrl = (req) => {
var now = Date.now()
var url = new URL(req.url)
// 1. fixed http URL
// Just keep syncing with location.protocol
// fetch(httpURL) belongs to active mixed content.
// And fetch(httpRequest) is not supported yet.
url.protocol = self.location.protocol
// 2. add query for caching-busting.
// Github Pages served with Cache-Control: max-age=600
// max-age on mutable content is error-prone, with SW life of bugs can even extend.
// Until cache mode of Fetch API landed, we have to workaround cache-busting with query string.
// Cache-Control-Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=453190
if (url.hostname === self.location.hostname) {
url.search += (url.search ? '&' : '?') + 'cache-bust=' + now
}
return url.href
}
/**
* @Lifecycle Activate
* New one activated when old isnt being used.
*
* waitUntil(): activating ====> activated
*/
self.addEventListener('activate', event => {
event.waitUntil(self.clients.claim())
})
/**
* @Functional Fetch
* All network requests are being intercepted here.
*
* void respondWith(Promise<Response> r)
*/
self.addEventListener('fetch', event => {
// Skip some of cross-origin requests, like those for Google Analytics.
if (HOSTNAME_WHITELIST.indexOf(new URL(event.request.url).hostname) > -1) {
// Stale-while-revalidate
// similar to HTTP's stale-while-revalidate: https://www.mnot.net/blog/2007/12/12/stale
// Upgrade from Jake's to Surma's: https://gist.github.com/surma/eb441223daaedf880801ad80006389f1
const cached = caches.match(event.request)
const fixedUrl = getFixedUrl(event.request)
const fetched = fetch(fixedUrl, { cache: 'no-store' })
const fetchedCopy = fetched.then(resp => resp.clone())
// Call respondWith() with whatever we get first.
// If the fetch fails (e.g disconnected), wait for the cache.
// If there’s nothing in cache, wait for the fetch.
// If neither yields a response, return offline pages.
event.respondWith(
Promise.race([fetched.catch(_ => cached), cached])
.then(resp => resp || fetched)
.catch(_ => { /* eat any errors */ })
)
// Update the cache with the version we fetched (only for ok status)
event.waitUntil(
Promise.all([fetchedCopy, caches.open(RUNTIME)])
.then(([response, cache]) => response.ok && cache.put(event.request, response))
.catch(_ => { /* eat any errors */ })
)
}
})

@ -0,0 +1,469 @@
# 用户注册
Ushio-Net使用Ushio系统进行用户管理。
如果您还没有注册过,请[点击这里](https://login.yimian.xyz/?require=tel)进行注册。
# 授权
完成注册后,请您联系我(微信或[邮件](mailto:i@iotcat.me))对您进行授权。
考虑到服务的特殊性,原则上,<mark>Ushio-Net只对满足以下条件之一的人进行授权</mark>
- 我认识的人
- 我朋友认识的人
- Members of XJTLU
- Members of University of Liverpool
- Members of Cornell University
!> 使用人须承诺**永不使用本服务进行任何可能危害中国国家安全的行为**!
# 配置客户端
## 介绍
<!-- tabs:start -->
#### **Win10**
Win10拥有一些支持V2ray内核的开源图形化客户端,例如[V2RayN](https://github.com/2dust/v2rayN), [V2RayW](https://github.com/Cenmrev/V2RayW), [clash](https://github.com/Fndroid/clash_for_windows_pkg), [Qv2ray](https://github.com/lhy0403/Qv2ray), [Mellow](https://github.com/mellow-io/mellow)等。
本文将介绍如何配置<mark>V2RayN<sub>V3.21</sub></mark>作为你的Ushio-Net客户端。
#### **Android**
Android拥有一些支持V2ray内核的图形化客户端,例如[V2RayNG](https://github.com/2dust/v2rayNG), [BifrostV](https://play.google.com/store/apps/details?id=com.github.dawndiy.bifrostv), [Kitsunebi](https://play.google.com/store/apps/details?id=fun.kitsunebi.kitsunebi4android&hl=en_US)等。
本文将介绍如何配置<mark>V2RayNG<sub>V1.6.16</sub></mark>作为你的Ushio-Net客户端。
#### **IOS/IPad**
IOS/IPad拥有一些支持V2ray内核的图形化客户端,例如[Shadowrocket](https://itunes.apple.com/us/app/shadowrocket/id932747118?mt=8), [i2Ray](https://itunes.apple.com/us/app/i2ray/id1445270056?mt=8), [Kitsunebi](https://itunes.apple.com/us/app/kitsunebi-proxy-utility/id1446584073?mt=8)等。
本文将介绍如何配置<mark>Shadowrocket<sub>V2.1.83</sub></mark>作为你的Ushio-Net客户端。
#### **Mac**
Mac拥有一些支持V2ray内核的开源图形化客户端,例如[V2RayU](https://github.com/yanue/V2rayU), [V2RayX](https://github.com/Cenmrev/V2RayX), [V2RayC](https://github.com/gssdromen/V2RayC)等。
由于我手中没有Mac设备,因此暂不提供Mac的配置教程,只提供一个V2RayU的国内下载链接。
#### **Linux**
Linux拥有一些支持V2ray内核的开源图形化客户端,例如[Qv2ray](https://github.com/lhy0403/Qv2ray), [Mellow](https://github.com/mellow-io/mellow)等。
由于我手中没有Linux设备,因此暂不提供Linux的配置教程。请自行探索配置!
<!-- tabs:end -->
## 下载客户端
请从以下链接下载并安装客户端!
<!-- tabs:start -->
#### **Win10**
- [V2RayN下载链接](https://onedrive.yimian.xyz/packages/programs/all/v2ray/Windows_v2rayN-Core.zip)
- [V2Ray备用链接](https://github.com/2dust/v2rayN/releases/download/3.21/v2rayN-Core.zip)
- [V2Ray备用链接2](https://proxy.yimian.xyz/get/?url=aHR0cHM6Ly9naXRodWIuY29tLzJkdXN0L3YycmF5Ti9yZWxlYXNlcy9kb3dubG9hZC8zLjIxL3YycmF5Ti1Db3JlLnppcA==)
#### **Android**
- [V2RayNG下载链接](https://onedrive.yimian.xyz/packages/programs/all/v2ray/Android_v2rayNG_1.6.16.apk)
- [V2Ray备用链接](https://github.com/2dust/v2rayNG/releases/download/1.6.16/v2rayNG_1.6.16.apk)
- [V2Ray备用链接2](https://proxy.yimian.xyz/get/?url=aHR0cHM6Ly9naXRodWIuY29tLzJkdXN0L3YycmF5TkcvcmVsZWFzZXMvZG93bmxvYWQvMS42LjE2L3YycmF5TkdfMS42LjE2LmFwaw==)
#### **IOS/IPad**
请参考[这个链接](https://shadowsockshelp.github.io/ios/)。
#### **Mac**
- [V2RayU下载链接](https://onedrive.yimian.xyz/packages/programs/all/v2ray/Mac_V2rayU.dmg)
- [V2RayU备用链接](https://github.com/yanue/V2rayU/releases/download/2.3.1/V2rayU.dmg)
- [V2RayU备用链接2](https://proxy.yimian.xyz/get/?url=aHR0cHM6Ly9naXRodWIuY29tL3lhbnVlL1YycmF5VS9yZWxlYXNlcy9kb3dubG9hZC8yLjMuMS9WMnJheVUuZG1n)
#### **Linux**
<!-- tabs:end -->
## 安装客户端
!> 请确保您的设备上没有正在运行的V2Ray其它软件!!
<!-- tabs:start -->
#### **Win10**
1. 请解压下载的压缩文件到您的电脑,比如`C:\v2ray\v2rayN-Core`。
1. 请双击打开`C:\v2ray\v2rayN-Core\v2rayN.exe`或者`C:\v2ray\v2rayN-Core\v2rayN`。
#### **Android**
请安装下载的安装包。
?> 如果提示无法安装,请从手机设置中开启**允许安装外部来源应用**
#### **IOS/IPad**
请根据上述网址下载并安装Shadowrocket。
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## 设置客户端
!> 如果您遇到了任何问题,请务必告知我!
<!-- tabs:start -->
#### **Win10**
1. 请在屏幕右下角**任务栏**找到V图标![v2rayN icon](/img/v2rayN_ico.png)并点击。
?> **注意** 任务栏可能被自动折叠,请展开任务栏查找!
1. 在弹出的窗口中,选择<mark>参数设置</mark>
1. 找到v2rayN设置,勾选<mark>开机自启动</mark>
1. 点击<mark>确定</mark>键。
#### **Android**
1. 打开v2rayNG。
1. 点击右上角三个点,选择<mark>删除全部配置</mark>
1. 到手机系统设置->>应用->>应用启动管理,关掉系统对V2RayNG的自动管理,并给V2RayNG所有权限(允许自启动,允许关联启动,允许后台活动等)!!!
?> 这里我用的是华为系统的步骤,其它手机类似。
?> 对于部分手机(比如华为),可以将v2rayNG设置为通知栏常驻,从而可以像开关WiFi那样方便的开关V2RayNG,
#### **IOS/IPad**
1. 打开Shadowrocket。
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## 订阅Ushio-Net
<!-- tabs:start -->
#### **Win10**
1. [点击这里](https://v2ray.yimian.xyz/)查看你的Ushio-Net订阅信息。
1. 请点击网页上的<mark>Copy</mark>按钮。
1. 重新回到V2RayN的主页面,点击上方<mark>订阅->>订阅设置</mark>
1. 在订阅设置窗口中,点击左下方<mark>添加</mark>
1. 将刚才复制的内容黏贴到<mark>地址</mark>中。
1. 点击下方<mark>确定</mark>
1. 回到V2RayN主页面,点击上方<mark>订阅->>更新订阅</mark>.
1. 如果主窗口中有新的服务器出现,则代表订阅成功。
#### **Android**
1. 用手机浏览器打开[https://v2ray.yimian.xyz](https://v2ray.yimian.xyz/)查看你的Ushio-Net订阅信息。
1. 请点击网页上的<mark>Copy</mark>按钮。
1. 重新打开V2RayNG的主页面,点击<mark>左上方三条杠->>订阅设置</mark>
1. 点击右上方<mark>加号</mark>
1. 将刚才从网页上复制的内容粘贴到<mark>地址</mark>中。
1. 在备注中随便填点东西。
1. 点击<mark>右上角对号</mark>
1. 回到主页面,点击<mark>右上角三个点->>更新订阅</mark>
1. 若观察到主页面中出现新的服务器,则代表订阅成功。
#### **IOS/IPad**
1. 用IOS/IPad浏览器打开[https://v2ray.yimian.xyz](https://v2ray.yimian.xyz/)查看你的Ushio-Net订阅信息。
1. 请点击网页上的<mark>Copy</mark>按钮。
1. 重新打开Shadowrocket的主页面,点击<mark>右上角加号</mark>
1. 类型选择<mark>Subscribe</mark>
1. 将刚才从网页上复制的内容粘贴到<mark>URL</mark>中。
1. 回到主页面,点击新出现的服务器节点(一般是`api.yimian.xyz`)。
1. 如果下方出现多个新的服务器,则代表订阅成功。
#### **Mac**
#### **Linux**
<!-- tabs:end -->
----------------
## 配置客户端-访问外网
!> **注意** 当前为国内访问外网。<mark>从国外访问国内[见下方](/usage?id=配置客户端-回国)</mark>
<!-- tabs:start -->
#### **Win10**
1. 在V2rayN主页面,**右键**点击别名为<mark>Los_Angeles</mark>的服务器,选择<mark>设为活动服务器</mark>
1. 在V2RayN主页面,点击上方<mark>参数设置</mark>
1. 点击<mark>Core:路由设置</mark>
1. 点击<mark>一键设置默认自定义路由规则</mark>
1. <mark>域名解析策略</mark>设置为<mark>IPIfNonMatch</mark>
1. 点击下方<mark>确定</mark>
#### **Android**
1. 在V2RayNG主页面,点击<mark>左上角三个杠->>设置</mark>
1. 点击<mark>分应用代理</mark>,确保<mark>分应用代理</mark>选项被打开。
1. 在分应用代理里,点击<mark>右上角三个点->>自动选中需代理应用</mark>
1. 这时,应该有一些应用被选中了。你可以根据你的需求微调一下,选择你认为需要翻墙的APP。
1. 点击左上角箭头返回到设置页面。
1. 在设置页面,找到<mark>域名策略</mark>设置为<mark>IPIfNonMatch</mark>
1. 在设置页面,找到<mark>预定义规则</mark>设置为<mark>绕过局域网及大陆地址</mark>
1. 返回到主页面,点击选中`Los_Angeles`那一项,让其左侧变绿。
#### **IOS/IPad**
1. 在Shadowrocket主页面,点击下方<mark>配置</mark>
1. 点击<mark>恢复默认配置</mark>,弹窗点击<mark></mark>
1. 在Shadowrocket主页面,点击下方<mark>首页</mark>
1. 点击`Los_Angeles`,让它左边出现黄点。
1. 点击<mark>全局路由->>配置</mark>
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## 使用Ushio-Net-访问外网
<!-- tabs:start -->
#### **Win10**
**开启外网访问**
- 请在屏幕右下角**任务栏**找到V图标![v2rayN icon](/img/v2rayN_ico.png)并<mark>**右键**</mark>点击,选择<mark>Http代理->>开启Http代理,并自动配置系统代理(全局模式)</mark>
?> 完成这个操作后,你将能够使用浏览器访问Google等服务。国内的网站将会直接连接,而不会通过代理。此模式<mark>**推荐长期使用**</mark>
**关闭外网访问**
- 请在屏幕右下角**任务栏**找到V图标![v2rayN icon](/img/v2rayN_ico_red.png)并<mark>**右键**</mark>点击,选择<mark>Http代理->>关闭Http代理</mark>
?> 完成这个操作后,你将无法访问Google等服务,但国内网站可正常访问。
#### **Android**
**开启外网访问**
- 在V2RayNG主页面,点击右下角的V字图标,使其变绿。
?> 完成这个操作后,你配置的APP将能够使用访问Google等服务。国内的网站将会直接连接,而不会通过代理。此模式<mark>**推荐长期使用**</mark>
?> 对于部分手机如华为,你也可以直接点击状态栏中的V图标即可开启服务。
**关闭外网访问**
- 在V2RayNG主页面,点击右下角的V字图标,使其变灰。
?> 完成这个操作后,V2rayNG将被关闭,你的所有APP将无法访问Google等服务。!
#### **IOS/IPad**
**开启外网访问**
- 打开Shadowrocket首页, 点击上面第一项<mark>未连接</mark>,使其显示<mark>Los_Angeles</mark>
?> 完成这个操作后,你将能够访问Google等服务。国内的网站将会直接连接,而不会通过代理。此模式<mark>**推荐长期使用**</mark>
**关闭外网访问**
- 打开Shadowrocket首页, 点击上面第一项<mark>Los_Angeles</mark>,使其显示<mark>未连接</mark>
?> 完成这个操作后,你将无法访问Google等服务,但国内网站可正常访问。
#### **Mac**
#### **Linux**
<!-- tabs:end -->
---------------------
---------------
## 配置客户端-回国
!> **注意** 当前为国外访问国内。<mark>从国内访问国外[见上方](/usage?id=配置客户端-访问外网)</mark>
<!-- tabs:start -->
#### **Win10**
1. 在V2rayN主页面,**右键**点击别名为<mark>China-Taian</mark>的服务器,选择<mark>设为活动服务器</mark>
1. 在V2RayN主页面,点击上方<mark>参数设置</mark>
1. 点击<mark>Core:路由设置</mark>
1. **删掉**<mark>代理的Domian或IP</mark>里面的全部内容。
1. **删掉**<mark>直连的Domian或IP</mark>里面的全部内容。
1. <mark>预定义规则</mark>设置为<mark>全局</mark>
1. <mark>域名解析策略</mark>设置为<mark>IPIfNonMatch</mark>
1. 点击下方<mark>确定</mark>
#### **Android**
1. 在V2RayNG主页面,点击<mark>左上角三个杠->>设置</mark>
1. 点击<mark>分应用代理</mark>,确保<mark>分应用代理</mark>选项被打开。
1. 在分应用代理页面,选择所有你认为需要翻墙回国打破IP版权限制的APP。
1. 点击左上角箭头返回到设置页面。
1. 在设置页面,找到<mark>域名策略</mark>设置为<mark>IPIfNonMatch</mark>
1. 在设置页面,找到<mark>预定义规则</mark>设置为<mark>绕过局域网地址</mark>
1. 返回到主页面,点击选中`China-Taian`那一项,让其左侧变绿。
#### **IOS/IPad**
1. 在Shadowrocket首页,点击`China-Taian`,让它左边出现黄点。
1. 点击<mark>全局路由->>代理</mark>
#### **Mac**
#### **Linux**
<!-- tabs:end -->
## 使用Ushio-Net-回国
<!-- tabs:start -->
#### **Win10**
**开启访问国内**
- 请在屏幕右下角**任务栏**找到V图标![v2rayN icon](/img/v2rayN_ico.png)并<mark>**右键**</mark>点击,选择<mark>Http代理->>开启Http代理,并自动配置系统代理(全局模式)</mark>
?> 完成这个操作后,你将能够打破IP限制访问国内资源。但国外网站的访问速度会有所下降。此模式<mark>**不推荐长期使用**</mark>!请在需要时再开启!!
**关闭访问国内**
- 请在屏幕右下角**任务栏**找到V图标![v2rayN icon](/img/v2rayN_ico_red.png)并<mark>**右键**</mark>点击,选择<mark>Http代理->>关闭Http代理</mark>
?> 完成这个操作后,你将无法打破国内资源的IP限制,但国外网站会恢复到之前的访问速度。<mark>**推荐在不需要访问国内资源时,都使用此模式**</mark>
#### **Android**
**开启访问回国**
- 在V2RayNG主页面,点击右下角的V字图标,使其变绿。
?> 完成这个操作后,你配置的APP将能够使用国内IP访问资源,从而打破IP版权限制。国外的网站将会直接连接,而不会通过代理。此模式<mark>**推荐长期使用**</mark>
?> 对于部分手机如华为,你也可以直接点击状态栏中的V图标即可开启服务。
**关闭外访问回国**
- 在V2RayNG主页面,点击右下角的V字图标,使其变灰。
?> 完成这个操作后,V2rayNG将被关闭,你的国内APP将无法打破IP版权限制!
#### **IOS/IPad**
**开启访问回国**
- 打开Shadowrocket首页, 点击上面第一项<mark>未连接</mark>,使其显示<mark>China-Taian</mark>
?> 完成这个操作后,你的所有APP将能够使用国内IP访问资源,从而打破IP版权限制。国外的网站和APP将会直接连接,而不会通过代理。此模式<mark>**推荐长期使用**</mark>
**关闭访问回国**
- 打开Shadowrocket首页, 点击上面第一项<mark>China-Taian</mark>,使其显示<mark>未连接</mark>
?> 完成这个操作后,V2rayNG将被关闭,你的APP将无法打破IP版权限制!
#### **Mac**
#### **Linux**
<!-- tabs:end -->
---------------
----------------
[<kbd>&rarr;</kbd> 下一页](/advanced)

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save