幸运之星正在降临...
点击领取今天的签到奖励!
恭喜!您今天获得了{{mission.data.mission.credit}}积分
我的优惠劵
-
¥优惠劵使用时效:无法使用使用时效:
之前
使用时效:永久有效优惠劵ID:×
没有优惠劵可用!
我用了个一键安装脚本好用了
wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
Sat May 23 21:39:48 2020 OpenVPN 2.4.9 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 16 2020
Sat May 23 21:39:48 2020 Windows version 6.2 (Windows 8 or greater) 64bit
Sat May 23 21:39:48 2020 library versions: OpenSSL 1.1.1f 31 Mar 2020, LZO 2.10
Sat May 23 21:39:48 2020 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sat May 23 21:39:48 2020 Need hold release from management interface, waiting...
Sat May 23 21:39:48 2020 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sat May 23 21:39:48 2020 MANAGEMENT: CMD 'state on'
Sat May 23 21:39:48 2020 MANAGEMENT: CMD 'log all on'
Sat May 23 21:39:48 2020 MANAGEMENT: CMD 'echo all on'
Sat May 23 21:39:48 2020 MANAGEMENT: CMD 'bytecount 5'
Sat May 23 21:39:48 2020 MANAGEMENT: CMD 'hold off'
Sat May 23 21:39:48 2020 MANAGEMENT: CMD 'hold release'
Sat May 23 21:39:48 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Sat May 23 21:39:48 2020 WARNING: Your certificate is not yet valid!
Sat May 23 21:39:48 2020 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat May 23 21:39:48 2020 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sat May 23 21:39:48 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]192.168.0.108:1194
Sat May 23 21:39:48 2020 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sat May 23 21:39:48 2020 UDP link local: (not bound)
Sat May 23 21:39:48 2020 UDP link remote: [AF_INET]192.168.0.108:1194
Sat May 23 21:39:48 2020 MANAGEMENT: >STATE:1590241188,WAIT,,,,,,
不好装啊,服务端1194没问题,客户端连接不上。。。
我执行yum -y install gcc后编译安装没有报错
[root@openvpn openvpn-2.4.7]# ./configure --prefix=/usr/local/openvpn-2.4.7
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/data/tools/openvpn-2.4.7':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
您好,编译安装的时候报这个错咋整?