Quando eu importo o arquivo .ovpn em Conexões de rede > Importar uma configuração VPN salva Eu recebo este erro:
Thefile'config.ovpn'couldnotbereadordoesnotcontainrecognizedVPNconnectioninformation
Error:theplugindoesnotsupportimportcapability.
QuandoeuiniciaroOpenVPNatravésdoshell,eleseráinicializadoemostraráestasaída:
sudoopenvpn--configaaa.ovpnWedApr414:28:192018OpenVPN2.3.10x86_64-pc-linux-gnu[SSL(OpenSSL)][LZO][EPOLL][PKCS11][MH][IPv6]builtonJun222017WedApr414:28:192018libraryversions:OpenSSL1.0.2g1Mar2016,LZO2.08WedApr414:28:192018WARNING:file'aaa.p12'isgrouporothersaccessibleWedApr414:28:192018WARNING:file'aaa-tls.key'isgrouporothersaccessibleWedApr414:28:192018ControlChannelAuthentication:using'aaa-tls.key'asaOpenVPNstatickeyfileWedApr414:28:192018AttemptingtoestablishTCPconnectionwith[AF_INET]xx.xx.xx.xx:1194[nonblock]WedApr414:28:202018TCPconnectionestablishedwith[AF_INET]xx.xx.xx.xx:1194WedApr414:28:202018TCPv4_CLIENTlinklocal:[undef]WedApr414:28:202018TCPv4_CLIENTlinkremote:[AF_INET]xx.xx.xx.xx:1194WedApr414:28:212018[ServerOpenVPN]PeerConnectionInitiatedwith[AF_INET]xx.xx.xx.xx:1194WedApr414:28:242018Optionserror:Unrecognizedoptionormissingparameter(s)in[PUSH-OPTIONS]:6:block-outside-dns(2.3.10)WedApr414:28:242018Optionserror:Unrecognizedoptionormissingparameter(s)in[PUSH-OPTIONS]:7:register-dns(2.3.10)WedApr414:28:242018TUN/TAPdevicetun0openedWedApr414:28:242018do_ifconfig,tt->ipv6=0,tt->did_ifconfig_ipv6_setup=0WedApr414:28:242018/sbin/iplinksetdevtun0upmtu1500WedApr414:28:242018/sbin/ipaddradddevtun010.10.10.12/24broadcast10.10.10.255WedApr414:28:242018InitializationSequenceCompleted
Seeuestivercorreto,aconexãofoiestabelecidasobainterfacetun0.Masaindanãofunciona.MeutráfegoaindaestápassandopelomeuendereçoIPnormaleosrecursosportrásdessaVPNnãoestãoacessíveis.
Meuarquivo.ovpn:
devtunpersist-tunpersist-keycipherAES-256-CBCauthSHA1tls-clientclientresolv-retryinfiniteremotexx.xx.xx.xx1194tcp-clientverify-x509-name"Server OpenVPN" name
pkcs12 aaa.p12
tls-auth aaa.key 1
remote-cert-tls server
comp-lzo adaptive
Saída da rota
$ 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
Tags networking openvpn linux linux-mint