无界面Linux魔法上网
Shadowsocks或者V2ray
安装v2ray
安装
1 | sudo su |
配置
1 | # 修改config.json文件为v2ray配置 |
!注意:改变v2ray的config文件后要重启v2ray服务
service v2ray restart
Sock5 代理
proxychains4
编译安装
1 | ./configure |
配置
1 | # 创建文件夹 |
文件的内容
1 | strict_chain |
使用
1 | proxychains4 bash |
Configuration
proxychains looks for configuration in the following order:
SOCKS5 proxy port in environment variable ${PROXYCHAINS_SOCKS5} (if set, no further configuration will be searched)
file listed in environment variable ${PROXYCHAINS_CONF_FILE} or provided as a -f argument to proxychains script or binary.
./proxychains.conf
$(HOME)/.proxychains/proxychains.conf
/etc/proxychains.conf
see more in /etc/proxychains.conf
参考:
https://ry.huaji.store/2020/08/Linux-magic-network/
https://medium.com/@xiaoqinglin2018/mac-osx-%E4%BD%BF%E7%94%A8proxychains-ng-91ba61472fdf
- Post title:无界面Linux魔法上网
- Post author:Willem Zhang
- Create time:2021-04-23 03:59:27
- Post link:https://ataraxia.top/2021/04/22/无界面Linux魔法上网/
- Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.
Comments