首先你得有國外節點的服務器:
購買境外VPS服務器 :強烈推薦v u l t r,界面簡潔,操作簡單,便宜又穩定,按時收費。
首先進入×××官網註冊:https://www.vultr.com (通過此鏈接註冊充值10美元送50美元,一年60美元足以使用
)
禁用selinux
sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
禁用防火牆
systemctl stop firewalld
systemctl disable firewalld
yum -y install epel-release
yum -y install vim net-tools telnet lrzsz wget git unzip yum-utils
安裝方式只需要一條命令:
bash <(curl -L -s https://install.direct/go.sh)
看輸出內容,裏面有UUID和PORT字段,這兩個字段加上IP,就是我們連接服務器的關鍵,只需要把這幾個字段填入客戶端,我們就能通過這臺服務器進行上網。
啓動v2ray服務進程:
systcemctl start v2ray