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'],