Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 594 Bytes

README.md

File metadata and controls

33 lines (27 loc) · 594 Bytes

VPN

OpenVPN

服务端安装

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh

客户端接管所有流量

# 客户端配置文件client.ovpn中添加
redirect-gateway def1

参考资料

Wireguard windows

配置

[Interface]
PrivateKey = xxx
Address = 192.168.89.1/32
DNS = 119.29.29.29

[Peer]
PublicKey = xxx
AllowedIPs = 0.0.0.0/0
Endpoint = x.x.x.x:11112
PersistentKeepalive = 15