openvpn을 시작하는 데 문제가 있습니다: 분할 오류 11

openvpn을 시작하는 데 문제가 있습니다: 분할 오류 11

FreeBSD에서 VPN을 시작하는 데 문제가 있습니다. Freenas Jail에서 이 작업을 수행하고 있으며 다음 가이드를 따르려고 합니다. https://forums.freenas.org/index.php?threads/how-to-install-openvpn-inside-a-jail-in-freenas-9-2-1-6-with-access-to-remote- 호스트-via-nat.22873/

내 라우터의 IP 주소는 192.168.1.1입니다. 내 서버의 주소는 192.168.1.2입니다.

내 서버 구성 파일

port 10011
proto udp
dev tun
ca ca.crt
cert openvpn-server.crt #Server public key
key openvpn-server.key #Server private key
dh dh.pem #Diffie-Hellman parameters
server 172.16.8.0 255.255.255.0 #Purple network
ifconfig-pool-persist ipp.txt
push "route 192.168.1.0 255.255.255.0" #Yellow network
tls-auth ta.key 0
#crl-verify crl.pem
keepalive 10 120
cipher AES-256-CBC
auth SHA256
group nobody
user nobody
comp-lzo
persist-key
persist-tun
verb 3

모든 키와 인증은 올바른 디렉터리에 있습니다. 그런 다음`openvpn --config /mnt/keys/openvpn.conf를 수행하여 개방형 VPN을 시작합니다.

하지만 Tue Mar 20 21:57:22 2018 OpenVPN 2.4.0 i386-portbld-freebsd9.3 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] built on Dec 29 2016 Tue Mar 20 21:57:22 2018 library versions: OpenSSL 0.9.8y 5 Feb 2013, LZO 2.09 Tue Mar 20 21:57:22 2018 NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet. Tue Mar 20 21:57:22 2018 Diffie-Hellman initialized with 2048 bit key Segmentation fault: 11 메시지 로그가 표시됩니다.

[root@OpenVPN /mnt/keys]# cat /var/log/messages
Mar 20 20:32:19 OpenVPN newsyslog[19742]: logfile first created
Mar 20 20:32:19 OpenVPN syslogd: kernel boot file is /boot/kernel/kernel
Mar 20 20:37:38 OpenVPN pkg: pkg-1.2.7_2 deinstalled
Mar 20 20:38:04 OpenVPN pkg-static: pkg-1.9.4_1 installed
Mar 20 20:39:41 OpenVPN pkg: indexinfo-0.2.6 installed
Mar 20 20:39:41 OpenVPN pkg: libiconv upgraded: 1.14_3 -> 1.14_10
Mar 20 20:39:43 OpenVPN pkg: gettext-0.18.3.1_1 deinstalled
Mar 20 20:39:43 OpenVPN pkg: gettext-runtime-0.19.8.1_1 installed
Mar 20 20:39:44 OpenVPN pkg: gettext-tools-0.19.8.1 installed
Mar 20 20:39:44 OpenVPN pkg: gettext-0.19.8.1 installed
Mar 20 20:39:44 OpenVPN pkg: gmp upgraded: 5.1.3_2 -> 5.1.3_3
Mar 20 20:39:44 OpenVPN pkg: expat upgraded: 2.1.0 -> 2.2.0_1
Mar 20 20:39:45 OpenVPN pkg: gdbm upgraded: 1.11 -> 1.12
Mar 20 20:39:45 OpenVPN pkg: db48 upgraded: 4.8.30.0_1 -> 4.8.30.0_2
Mar 20 20:39:52 OpenVPN pkg: db5-5.3.28_6 installed
Mar 20 20:39:53 OpenVPN pkg: mpfr upgraded: 3.1.2_2 -> 3.1.5
Mar 20 20:39:53 OpenVPN pkg: apr upgraded: 1.5.1.1.5.3 -> 1.5.2.1.5.4_2
Mar 20 20:40:03 OpenVPN pkg: binutils upgraded: 2.24 -> 2.27_5,1
Mar 20 20:40:03 OpenVPN pkg: neon29-0.29.6_6 deinstalled
Mar 20 20:40:04 OpenVPN pkg: libxml2 upgraded: 2.9.1_1 -> 2.9.4
Mar 20 20:40:04 OpenVPN pkg: sqlite3 upgraded: 3.8.4.3 -> 3.15.1_1
Mar 20 20:40:04 OpenVPN pkg: libffi-3.2.1 installed
Mar 20 20:40:04 OpenVPN pkg: serf upgraded: 1.3.6 -> 1.3.9_1
Mar 20 20:40:37 OpenVPN pkg: gcc upgraded: 4.7.3_1 -> 4.9.4
Mar 20 20:40:37 OpenVPN pkg: libidn upgraded: 1.28_1 -> 1.33_1
Mar 20 20:40:38 OpenVPN pkg: bash-4.4.5 installed
Mar 20 20:40:40 OpenVPN pkg: aria2 upgraded: 1.18.5_1 -> 1.29.0
Mar 20 20:40:42 OpenVPN pkg: subversion upgraded: 1.8.9 -> 1.9.5
Mar 20 20:40:53 OpenVPN pkg: python27 upgraded: 2.7.6_4 -> 2.7.13_1
Mar 20 20:40:53 OpenVPN pkg: wget upgraded: 1.15 -> 1.18_2
Mar 20 20:42:20 OpenVPN pkg: nano-2.7.3 installed
Mar 20 20:42:40 OpenVPN pkg: liblz4-131 installed
Mar 20 20:42:40 OpenVPN pkg: easy-rsa-3.0.1_1 installed
Mar 20 20:42:40 OpenVPN pkg: lzo2 upgraded: 2.06_3 -> 2.09
Mar 20 20:42:41 OpenVPN pkg: openvpn-2.4.0 installed
Mar 20 21:24:12 OpenVPN syslogd: exiting on signal 15
Mar 20 21:27:27 OpenVPN syslogd: kernel boot file is /boot/kernel/kernel
Mar 20 21:27:27 OpenVPN openvpn[4278]: OpenVPN 2.4.0 i386-portbld-freebsd9.3 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] built on Dec 29 2016
Mar 20 21:27:27 OpenVPN openvpn[4278]: library versions: OpenSSL 0.9.8y 5 Feb 2013, LZO 2.09
Mar 20 21:27:27 OpenVPN openvpn[4279]: NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x.  Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Mar 20 21:27:27 OpenVPN openvpn[4279]: Diffie-Hellman initialized with 2048 bit key
Mar 20 21:53:48 OpenVPN openvpn[7124]: OpenVPN 2.4.0 i386-portbld-freebsd9.3 [SSL (OpenSSL)] [LZO] [LZ4] [MH/RECVDA] built on Dec 29 2016
Mar 20 21:53:48 OpenVPN openvpn[7124]: library versions: OpenSSL 0.9.8y 5 Feb 2013, LZO 2.09
Mar 20 21:53:48 OpenVPN openvpn[7125]: NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x.  Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet.
Mar 20 21:53:48 OpenVPN openvpn[7125]: Diffie-Hellman initialized with 2048 bit key

그래서 openvpn이 시작되지 않고 이유를 알 수 없습니다. Segmentation Fault 11과 관련이 있는 것 같습니다.

관련 정보