OpenVpn - Conecta porem nao acessa a rede.



  • Prezados,

    Estou com um problema que nao sei como resolver.

    Criei um VPN (OpenVPN) no pfsense, e  funciona normal quando estou em qualquer rede 10.0.0.1 exemplo.

    Quando estou em uma rede 192.168.X.X ele conecta porem nao acessa nada.

    UDP / 1194 172.18.1.0/24

    Tela de conectado

    Mon May 09 10:35:53 2016 OpenVPN 2.3.8 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug  4 2015
    Mon May 09 10:35:53 2016 library versions: OpenSSL 1.0.1p 9 Jul 2015, LZO 2.08
    Mon May 09 10:36:01 2016 Control Channel Authentication: using 'fw-udp-1194-bruno-tls.key' as a OpenVPN static key file
    Mon May 09 10:36:01 2016 UDPv4 link local (bound): [undef]
    Mon May 09 10:36:01 2016 UDPv4 link remote: [AF_INET]177.69.27.158:1194
    Mon May 09 10:36:01 2016 WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
    Mon May 09 10:36:02 2016 [erika] Peer Connection Initiated with [AF_INET]177.69.27.158:1194
    Mon May 09 10:36:04 2016 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Mon May 09 10:36:04 2016 open_tun, tt->ipv6=0
    Mon May 09 10:36:04 2016 TAP-WIN32 device [Ethernet 2] opened: \.\Global{51854911-8297-4C09-884B-CC60D2EF7D9A}.tap
    Mon May 09 10:36:04 2016 Notified TAP-Windows driver to set a DHCP IP/netmask of 172.18.1.6/255.255.255.252 on interface {51854911-8297-4C09-884B-CC60D2EF7D9A} [DHCP-serv: 172.18.1.5, lease-time: 31536000]
    Mon May 09 10:36:09 2016 ROUTE: route addition failed using CreateIpForwardEntry: Acesso negado.  [status=5 if_index=43]
    Mon May 09 10:36:09 2016 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    Mon May 09 10:36:09 2016 ERROR: Windows route add command failed [adaptive]: returned error code 1
    Mon May 09 10:36:09 2016 ROUTE: route addition failed using CreateIpForwardEntry: Acesso negado.  [status=5 if_index=43]
    Mon May 09 10:36:09 2016 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
    Mon May 09 10:36:09 2016 ERROR: Windows route add command failed [adaptive]: returned error code 1
    Mon May 09 10:36:09 2016 Initialization Sequence Completed




  • Olá Bruno, tente rodar o aplicativo do OpenVPN como administrador!
    Parece que ele não está conseguindo criar as rotas!



  • Tambem tenho o mesmo problema… :(



  • FIREWALL
    DA UMA OLHADA SE LIBEROU ACESSO DA LAN INTERNA PRA LAN EXTERNA,
    PROVAVELMENTE SERIA ISSO LIBERA DNS TBM PRA TESTAR
    TEM SQUID NÃO ESQUECE DELE


Log in to reply