在 ubuntu 22.04 LTS 上使用 openvpn 远程连接到家庭网络

在 ubuntu 22.04 LTS 上使用 openvpn 远程连接到家庭网络

我正在尝试使用类似下面的 client.ovpn 文件远程连接到我的家庭网络。我在 Ubuntu 22.04.1 LTS 上使用开放式 vpn。当我运行以下代码时:

代码:

sudo openvpn --config client.ovpn 

我收到消息:

2023-10-25 17:04:57 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2023-10-25 17:04:57 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
2023-10-25 17:04:57 OpenVPN 2.5.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 14 2022
2023-10-25 17:04:57 library versions: OpenSSL 3.0.2 15 Mar 2022, LZO 2.10

当我输入以下用户名和密码时:

Enter Auth Username: examplename

相关内容