Files
hyapi-server/deployments/openvpn/tiany0721.ovpn.example
2026-07-23 15:13:49 +08:00

24 lines
503 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 复制为服务器上的 tiany0721.ovpn并与 ca.crt / 证书 / 密钥同目录放置。
# 勿将真实证书提交到 Git。
client
dev tun
proto tcp
remote 111.31.14.226 32199
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert tiany0721.crt
key tiany0721.key
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
compress lz4-v2
verb 3
# 仅路由戎行主机,不接管默认网关(其它流量仍走容器原出口)
route-nopull
route 192.168.3.43 255.255.255.255