linux:v2ray
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
linux:v2ray [2019/07/13 21:05] – [Mac Install] percy | linux:v2ray [2019/07/14 00:35] – [Router Install] percy | ||
---|---|---|---|
Line 47: | Line 47: | ||
brew services restart v2ray-core | brew services restart v2ray-core | ||
+ | ===== Router Install ===== | ||
+ | Download the correct version | ||
+ | - https:// | ||
+ | wget -cS https:// | ||
+ | unzip v2ray-linux-arm.zip | ||
+ | Then copy all the files to the router | ||
+ | scp -r v2ray root@miwifi.com:/ | ||
+ | Add execution permission | ||
+ | chmod +x v2ray | ||
+ | chmod +x v2ctl | ||
+ | Update the config.json, | ||
+ | ./v2ray --config=config.json | ||
+ | Testing the connection | ||
+ | curl -x socks5:// | ||
+ | Reference | ||
+ | - https:// | ||
===== Reference ===== | ===== Reference ===== | ||
Line 101: | Line 117: | ||
==== Config file for client ==== | ==== Config file for client ==== | ||
- | <file json> | + | <code json> |
{ | { | ||
" | " | ||
Line 141: | Line 157: | ||
}, | }, | ||
" | " | ||
- | } | + | |
+ | { | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | } | ||
], | ], | ||
" | " | ||
Line 153: | Line 178: | ||
" | " | ||
{ | { | ||
- | " | + | " |
- | " | + | " |
" | " | ||
{ | { | ||
- | " | + | " |
} | } | ||
] | ] | ||
Line 226: | Line 251: | ||
} | } | ||
} | } | ||
- | </file> | + | </code> |
/var/www/dokuwiki/wiki/data/pages/linux/v2ray.txt · Last modified: 2021/10/02 22:32 by percy