OpenVPN não funciona como esperado

0

Estou tentando se conectar a outro local usando o OpenVPN. Eu recebi um script, no entanto, uma vez executado e diz "Sequência de inicialização concluída" Eu verifico o meu IP e ele permanece como está. A saída é a seguinte:

Fri Jul 08 16:04:20 2016 NOTE: --group option is not implemented on Windows
Fri Jul 08 16:04:20 2016 NOTE: --user option is not implemented on Windows
Fri Jul 08 16:04:20 2016 OpenVPN 2.3.11 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 10 2016
Fri Jul 08 16:04:20 2016 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Jul 08 16:04:20 2016 library versions: OpenSSL 1.0.1t  3 May 2016, LZO 2.09
Fri Jul 08 16:04:20 2016 Control Channel Authentication: tls-auth using INLINE static key file
Fri Jul 08 16:04:20 2016 Attempting to establish TCP connection with [AF_INET]103.240.178.197:21194 [nonblock]
Fri Jul 08 16:04:21 2016 TCP connection established with [AF_INET]103.240.178.197:21194
Fri Jul 08 16:04:21 2016 TCPv4_CLIENT link local: [undef]
Fri Jul 08 16:04:21 2016 TCPv4_CLIENT link remote: [AF_INET]???.???.???.???:?????
Fri Jul 08 16:04:21 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Jul 08 16:04:27 2016 [OpenVPN Server] Peer Connection Initiated with [AF_INET]???.???.???.???:?????
Fri Jul 08 16:04:31 2016 Options error: --dhcp-option: unknown option type 'domain-name-servers' or missing parameter
Fri Jul 08 16:04:31 2016 Options error: --dhcp-option: unknown option type 'domain-name-servers' or missing parameter
Fri Jul 08 16:04:32 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Fri Jul 08 16:04:32 2016 open_tun, tt->ipv6=0
Fri Jul 08 16:04:32 2016 TAP-WIN32 device [Ethernet] opened: ???.tap
Fri Jul 08 16:04:32 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of ???.??.??.???(hidden for security reasons)/255.255.255.252 on interface {???-???-???-???} [DHCP-serv: ???.??.??.???, lease-time: 31536000]
Fri Jul 08 16:04:32 2016 Successful ARP Flush on interface [42] {???-???-???-???-????}
Fri Jul 08 16:04:34 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:34 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:34 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:35 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 16:04:36 2016 Initialization Sequence Completed
Fri Jul 08 16:05:54 2016 Connection reset, restarting [0]
Fri Jul 08 16:05:54 2016 SIGUSR1[soft,connection-reset] received, process restarting
Fri Jul 08 16:05:59 2016 Attempting to establish TCP connection with [AF_INET]103.240.178.197:21194 [nonblock]
Fri Jul 08 16:06:00 2016 TCP connection established with [AF_INET]103.240.178.197:21194
Fri Jul 08 16:06:00 2016 TCPv4_CLIENT link local: [undef]
Fri Jul 08 16:06:00 2016 TCPv4_CLIENT link remote: [AF_INET]103.240.178.197:21194
Fri Jul 08 16:06:07 2016 [OpenVPN Server] Peer Connection Initiated with [AF_INET]???.???.???.???:?????
Fri Jul 08 16:06:11 2016 Options error: --dhcp-option: unknown option type 'domain-name-servers' or missing parameter
Fri Jul 08 16:06:11 2016 Options error: --dhcp-option: unknown option type 'domain-name-servers' or missing parameter
Fri Jul 08 16:06:12 2016 Preserving previous TUN/TAP instance: Ethernet
Fri Jul 08 16:06:12 2016 Initialization Sequence Completed
Fri Jul 08 17:10:22 2016 TUN/TAP I/O operation aborted, restarting
Fri Jul 08 17:10:22 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem
Fri Jul 08 17:10:23 2016 env_block: add PATH=C:\windows\System32;C:\windows;C:\windows\System32\Wbem

Como posso diagnosticar o problema? O fato de ele executar env_block várias vezes me preocupa, mas não tenho certeza de por onde começar.

    
por EamonnMcElroy 11.07.2016 / 09:47

1 resposta

0

Pelo que entendi do seu log: env_block é uma mensagem de erro que significa que há um problema com variáveis de ambiente. Mais especificamente, a variável PATH, que não contém elementos necessários ao OpenVPN. Isso significa que o OpenVPN não pode iniciar as ferramentas necessárias para configurar o Windows corretamente.

Para verificar se esse é realmente o problema:

  1. Painel de controle aberto
  2. Ir para as propriedades do sistema
  3. À esquerda, clique em Parâmetros do sistema avançados
  4. Clique em Variáveis de ambiente
  5. Localize "Caminho" em uma das listas, selecione-o e clique em Modificar
  6. Verifique para ter certeza de que há C:\windows\System32;C:\windows;C:\windows\System32\Wbem
  7. Se houver ou não parte dele, adicione-o. Certifique-se de que o que você adicionar começa e termina com um ponto e vírgula.

Observe que C:\windows pode ser substituído por %SystemRoot% ou %windir% .

    
por 11.07.2016 / 10:10

Tags