Debian 9服务端配置

安装v2ray

1
2
3
4
apt install ntp -y
apt-get update -y && apt-get install curl -y
bash <(curl -s -L https://git.io/v2ray.sh)
v2ray url # generate vmess url

放行端口

iptables

1
2
3
4
5
iptables -I INPUT -p tcp --dport <port> -j ACCEPT
iptables-save
apt-get install iptables-persistent
netfilter-persistent save
netfilter-persistent reload

ufw

1
2
3
ufw status
ufw allow <port>
ufw reload

Windows客户端

https://github.com/2dust/v2rayN/releases/latest

Android客户端

https://github.com/2dust/v2rayNG/releases

Linux客户端

https://github.com/jiangxufeng/v2rayL