
네트워크 연결 > 저장된 VPN 구성 가져오기에서 .ovpn 파일을 가져올 때 다음 오류가 발생합니다.
'config.ovpn' 파일을 읽을 수 없거나 인식된 VPN 연결 정보가 포함되어 있지 않습니다.
오류: 플러그인이 가져오기 기능을 지원하지 않습니다.
셸을 통해 OpenVPN을 시작하면 OpenVPN이 시작되고 다음 출력이 표시됩니다.
sudo openvpn --config aaa.ovpn
Wed Apr 4 14:28:19 2018 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
Wed Apr 4 14:28:19 2018 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
Wed Apr 4 14:28:19 2018 WARNING: file 'aaa.p12' is group or others accessible
Wed Apr 4 14:28:19 2018 WARNING: file 'aaa-tls.key' is group or others accessible
Wed Apr 4 14:28:19 2018 Control Channel Authentication: using 'aaa-tls.key' as a OpenVPN static key file
Wed Apr 4 14:28:19 2018 Attempting to establish TCP connection with [AF_INET]xx.xx.xx.xx:1194 [nonblock]
Wed Apr 4 14:28:20 2018 TCP connection established with [AF_INET]xx.xx.xx.xx:1194
Wed Apr 4 14:28:20 2018 TCPv4_CLIENT link local: [undef]
Wed Apr 4 14:28:20 2018 TCPv4_CLIENT link remote: [AF_INET]xx.xx.xx.xx:1194
Wed Apr 4 14:28:21 2018 [Server OpenVPN] Peer Connection Initiated with [AF_INET]xx.xx.xx.xx:1194
Wed Apr 4 14:28:24 2018 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: block-outside-dns (2.3.10)
Wed Apr 4 14:28:24 2018 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:7: register-dns (2.3.10)
Wed Apr 4 14:28:24 2018 TUN/TAP device tun0 opened
Wed Apr 4 14:28:24 2018 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Wed Apr 4 14:28:24 2018 /sbin/ip link set dev tun0 up mtu 1500
Wed Apr 4 14:28:24 2018 /sbin/ip addr add dev tun0 10.10.10.12/24 broadcast 10.10.10.255
Wed Apr 4 14:28:24 2018 Initialization Sequence Completed
내 말이 맞다면 연결은 tun0 인터페이스에서 설정되었습니다. 하지만 여전히 작동하지 않습니다. 내 트래픽은 여전히 일반 IP 주소를 통과하고 있으며 이 VPN 뒤에 있는 리소스에 액세스할 수 없습니다.
내 .ovpn 파일:
dev tun
persist-tun
persist-key
cipher AES-256-CBC
auth SHA1
tls-client
client
resolv-retry infinite
remote xx.xx.xx.xx 1194 tcp-client
verify-x509-name "Server OpenVPN" name
pkcs12 aaa.p12
tls-auth aaa.key 1
remote-cert-tls server
comp-lzo adaptive
경로 출력
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default RT-AC68U-55A0 0.0.0.0 UG 600 0 0 wlp2s0
10.10.10.0 * 255.255.255.0 U 0 0 0 tun0
10.10.99.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
link-local * 255.255.0.0 U 1000 0 0 docker0
172.17.0.0 * 255.255.0.0 U 0 0 0 docker0
172.18.0.0 * 255.255.0.0 U 0 0 0 docker_gwbridge
172.30.3.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
172.31.7.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
172.31.8.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
172.31.12.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
172.31.14.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
172.31.19.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
172.31.63.0 10.10.10.1 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 * 255.255.255.0 U 600 0 0 wlp2s0