【发布时间】:2021-02-02 14:33:54
【问题描述】:
几周前我得到了一个 .ovpn 文件来工作,起初,一切正常,运行没有问题。当我再次尝试使用它时,我得到了这个错误
<user>@<name>:~$ sudo openvpn ~/<file_name>.ovpn
Options error: In [CMD-LINE]:1: Error opening configuration file:
/home/<name>/<file_name>.ovpn
Use --help for more information.
所以我尝试了openvpn --config <file_name>.ovpn 并得到了这个
<user>@<name>:~$ openvpn --config <file_name>.ovpn
Tue Feb 2 11:11:08 2021 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2019
Tue Feb 2 11:11:08 2021 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Tue Feb 2 11:11:08 2021 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Feb 2 11:11:08 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]65.175.70.209:1194
Tue Feb 2 11:11:08 2021 UDP link local: (not bound)
Tue Feb 2 11:11:08 2021 UDP link remote: [AF_INET]65.175.70.209:1194
Tue Feb 2 11:11:09 2021 [server] Peer Connection Initiated with [AF_INET]65.175.70.209:1194
Tue Feb 2 11:11:10 2021 ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Tue Feb 2 11:11:10 2021 Exiting due to fatal error
我能做些什么来解决这个问题?提前致谢。
【问题讨论】:
标签: error-handling terminal connection vpn openvpn