Jump the Wall

Original link: https://sanzo.top/Default/jump-the-wall/


V2ray

Server

 # 一键安装脚本bash < ( curl -s -L https://git.io/v2ray.sh )

client

Android, linux, macOS installation package: https://github.com/v2fly/v2ray-core/releases

v2ray client configuration file: https://github.com/Sanzo00/files/blob/master/other/v2ray.json

After downloading the v2ray installation package on the linux side, you can choose to install it locally or run the executable file directly.

Install to local

 wget https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh # 自动选择安装包sudo bash install-release.sh # 指定安装包sudo bash install-release.sh --local ./v2ray-linux-64.zip # 将配置文件拷贝到/usr/local/etc/v2ray/config.json

Run the executable directly

 nohup ./v2ray run config.json > v2ray.log 2 > &1 &

proxy settings

Terminal agent

 export ALL_PROXY = "socks5://127.0.0.1:10800" export all_proxy = "socks5://127.0.0.1:10800" export http_proxy = "http://127.0.0.1:10801" export https_proxy = "https://127.0.0.1:10801"

git agent

proxy for http and https

 # http and https git config --global http.proxy http://127.0.0.1:10801 git config --global https.proxy https://127.0.0.1:10801 # socks5 git config --global http.proxy socks5://127.0.0.1:10800 git config --global https.proxy socks5://127.0.0.1:10800 # unset git config --global --unset http.proxy git config --global --unset https.proxy

For ssh agent:

 sudo apt install connect-proxy vim ~/.ssh/config # socks5 Host github.comUser git ProxyCommand connect -S 127.0 .0.1:10800 %h %p # http || https Host github.comUser git ProxyCommand connect -H 127.0 .0.1:10801 %h %p

This article is reprinted from: https://sanzo.top/Default/jump-the-wall/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment