两个站点之间的 OpenVPN 行为非常奇怪

两个站点之间的 OpenVPN 行为非常奇怪

我们有一个配置了第 2 层的 OpenVPN。它连接到一个 BGP 路由器,该路由器会通告/24IPv4 和/29IPv6。VPN 的目的是重新分配 IPv4 和 IPv6。然而,最近我表现出了非常奇怪的行为。

当我启动 OpenVPN 时,我看到的是以下内容:

完全是胡说八道

这是服务器配置:

port 1194
proto udp6
dev tap
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server xx.xx.219.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 1.0.0.1"
push "dhcp-option DNS 1.1.1.1"
push "redirect-gateway def1 bypass-dhcp"
server-ipv6 xxxx:62c0::/64
tun-ipv6
push tun-ipv6
push "route-ipv6 2000::/3"
push "redirect-gateway ipv6"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_urnsnDa0CRP0bkx2.crt
key server_urnsnDa0CRP0bkx2.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3

另外,还有客户端的配置:

client
proto udp
explicit-exit-notify
remote 149.34.xxx.xxx 1194
dev tap
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_urnsnDa0CRP0bkx2 name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
[... following that there are only encryption key, so removed ...]

我完全不知所措。我不知道我配置错了什么。我想知道这是否是一个错误,如果是,需要多长时间才能解决。如果有人有想法。我会接受的。

相关内容