[FUG-BR] OpenVPN - Não pinga o servidor
mantunes
mantunes.listas em gmail.com
Segunda Agosto 24 16:16:02 BRT 2009
isso... veja as primeiras configurações que eu mandei..
e tente aplicar no seu caso.
2009/8/24 Bruno Oliveira <brnolvr84 at gmail.com>:
> Neste caso o parametro "server" no arquivo openvpn.conf fica com a
> configuração: 10.0.0.0 255.255.255.0?
>
> 2009/8/24 Bruno Oliveira <brnolvr84 at gmail.com>
>
>> Sim.
>>
>>
>> 2009/8/24 mantunes <mantunes.listas at gmail.com>
>>
>>> os ips que vc esta designando tem que ser diferente
>>> da sua rede local que neste caso é 192.168.1.0/24.
>>> Tente colocar algo com 10.0.0.0/24 para atribuição dos
>>> cliente Openvpn..
>>>
>>> Matriz <----> Filial
>>> IP Túnel 10.10.0.1 10.10.0.2
>>> IP Rede Fisica 192.168.1.0/24 192.168.3.0/24
>>>
>>> Matriz <----> laptop
>>> IP Túnel 10.0.0.1 10.0.0.4
>>> IP Rede Fisica 192.168.1.0/24 192.168.2.0/24
>>>
>>>
>>> depois coloque a configuração
>>> push "route 192.168.1.0 255.255.255.0
>>>
>>> O problema que vc está atribuindo ips na mesma
>>> rede logica. Para funcionar em que atribuir ips
>>> fora da faixa de rede.
>>>
>>> entendeu ?
>>>
>>>
>>>
>>>
>>> 2009/8/24 Bruno Oliveira <brnolvr84 at gmail.com>:
>>> > Cliente OpenVPN (IP dinâmico - 3G - IP válido)
>>> > |
>>> > [Internet]
>>> > |
>>> > Gateway (eth0: IP dinâmico - Virtua - IP válido / eth1:
>>> > 192.168.1.1/255.255.255.0)
>>> > |
>>> > Servidor VPN (eth0: 192.168.1.2/255.255.255.0)
>>> >
>>> > Esses são os únicos IPs fixos que tenho, não posso fazer nenhuma
>>> > configuração no servidor OpenVPN utilizando IP dinâmico. Não entendi o
>>> que
>>> > precisa.
>>> >
>>> >
>>> > 2009/8/24 mantunes <mantunes.listas at gmail.com>
>>> >
>>> >> faltou colocar os ips da sua rede logica nas
>>> >> duas pontas
>>> >>
>>> >>
>>> >> 2009/8/24 Bruno Oliveira <brnolvr84 at gmail.com>:
>>> >> > Servidor OpenVPN (OpenVPN e DHCP):
>>> >> > - 192.168.1.2/255.255.255.0
>>> >> > Servidor Gateway (Redirecionamento de porta):
>>> >> > - 192.168.1.1/255.255.255.0
>>> >> > Cliente OpenVPN (OpenVPN client for windows e internet 3G):
>>> >> > - IP dinâmico e placa de rede local desativada. A configuração do
>>> >> > dispositivo criado pelo OpenVPN está configurado para receber IP via
>>> DHCP
>>> >> > 2009/8/24 mantunes <mantunes.listas at gmail.com>
>>> >> >
>>> >> >> O erro é nas rotas..
>>> >> >> como falei no e-mail anterior a routa que deve se adicionada
>>> >> >> o IP do cliente esse assim
>>> >> >>
>>> >> >> 172.24.25.0 255.255.255.0 192.168.25.5 192.168.25.6 1
>>> >> >>
>>> >> >> note que é uma rede totalmente diferente do gatway padrao
>>> >> >> manda um esquema da sua rede e os respectivos ips..
>>> >> >> se quiser para o meu e-mail em PVT.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> 2009/8/24 Bruno Oliveira <brnolvr84 at gmail.com>:
>>> >> >> > *Configuração de IP do Windows*
>>> >> >> > Nome do host . . . . . . . . . . . : probhvm02
>>> >> >> > Sufixo DNS primário. . . . . . . . :
>>> >> >> > Tipo de nó . . . . . . . . . . . . : desconhecido
>>> >> >> > Roteamento de IP ativado . . . . . : não
>>> >> >> > Proxy WINS ativado . . . . . . . . : não
>>> >> >> > Adaptador Ethernet Conexão local 5:
>>> >> >> > Sufixo DNS específico de conexão . :
>>> >> >> > Descrição. . . . . . . . . . . . . : TAP-Win32 Adapter V9
>>> >> >> >
>>> >> >> > Endereço físico. . . . . . . . . . : 00-FF-00-AB-A7-21
>>> >> >> > DHCP ativado . . . . . . . . . . . : sim
>>> >> >> > Configuração automática ativada. . : sim
>>> >> >> > Endereço IP. . . . . . . . . . . . : 192.168.1.6
>>> >> >> >
>>> >> >> > Máscara de sub-rede. . . . . . . . : 255.255.255.252
>>> >> >> > Gateway padrão . . . . . . . . . . :
>>> >> >> >
>>> >> >> > Servidor DHCP. . . . . . . . . . . : 192.168.1.5
>>> >> >> > Concessão obtida . . . . . . . . . : segunda-feira, 24 de agosto
>>> de
>>> >> >> 2009
>>> >> >> > 11:38:21
>>> >> >> > Concessão expira . . . . . . . . . : terça-feira, 24 de agosto
>>> de
>>> >> 2010
>>> >> >> > 11:38:21
>>> >> >> > Adaptador PPP Velox 3G:
>>> >> >> > Sufixo DNS específico de conexão . :
>>> >> >> >
>>> >> >> > Descrição. . . . . . . . . . . . . : WAN (PPP/SLIP) Interface
>>> >> >> > Endereço físico. . . . . . . . . . : 00-53-45-00-00-00
>>> >> >> > DHCP ativado . . . . . . . . . . . : não
>>> >> >> > Endereço IP. . . . . . . . . . . . : 187.42.78.204
>>> >> >> > Máscara de sub-rede. . . . . . . . : 255.255.255.255
>>> >> >> > Gateway padrão . . . . . . . . . . : 187.42.78.204
>>> >> >> > Servidores DNS . . . . . . . . . . : 200.222.0.34
>>> >> >> > 200.202.193.75
>>> >> >> > Servidor WINS primário . . . . . . : 10.11.12.13
>>> >> >> > Servidor WINS secundário . . . . . : 10.11.12.14
>>> >> >> > NetBIOS por Tcpip. . . . . . . . . : desativado
>>> >> >> >
>>> >> >> > *Tabela de rotas IPv4*
>>> >> >> >
>>> >> >> >
>>> >> >>
>>> >>
>>> ===========================================================================
>>> >> >> > Lista de interfaces
>>> >> >> > 0x1 ........................... MS TCP Loopback interface
>>> >> >> >
>>> >> >> > 0x2 ...00 ff 00 ab a7 21 ...... TAP-Win32 Adapter V9
>>> >> >> > 0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
>>> >> >> >
>>> >> >> >
>>> >> >>
>>> >>
>>> ===========================================================================
>>> >> >> >
>>> >> >>
>>> >>
>>> ===========================================================================
>>> >> >> > Rotas ativas:
>>> >> >> > Endere‡o de rede M scara Ender. gateway Interface
>>> >> >> Custo
>>> >> >> >
>>> >> >> > 0.0.0.0 0.0.0.0 187.42.78.204
>>> 187.42.78.204
>>> >> >> 1
>>> >> >> >
>>> >> >> > 127.0.0.0 255.0.0.0 127.0.0.1
>>> 127.0.0.1
>>> >> >> 1
>>> >> >> >
>>> >> >> > 187.42.78.204 255.255.255.255 127.0.0.1
>>> 127.0.0.1
>>> >> >> 50
>>> >> >> > 187.42.255.255 255.255.255.255 187.42.78.204
>>> 187.42.78.204
>>> >> >> 50
>>> >> >> > 192.168.1.0 255.255.255.0 192.168.1.5
>>> 192.168.1.6
>>> >> >> 1
>>> >> >> > 192.168.1.1 255.255.255.255 192.168.1.5
>>> 192.168.1.6
>>> >> >> 1
>>> >> >> > 192.168.1.4 255.255.255.252 192.168.1.6
>>> 192.168.1.6
>>> >> >> 30
>>> >> >> > 192.168.1.6 255.255.255.255 127.0.0.1
>>> 127.0.0.1
>>> >> >> 30
>>> >> >> > 192.168.1.255 255.255.255.255 192.168.1.6
>>> 192.168.1.6
>>> >> >> 30
>>> >> >> > 224.0.0.0 240.0.0.0 192.168.1.6
>>> 192.168.1.6
>>> >> >> 30
>>> >> >> > 224.0.0.0 240.0.0.0 187.42.78.204
>>> 187.42.78.204
>>> >> >> 1
>>> >> >> > 255.255.255.255 255.255.255.255 187.42.78.204
>>> 187.42.78.204
>>> >> >> 1
>>> >> >> > 255.255.255.255 255.255.255.255 192.168.1.6
>>> 192.168.1.6
>>> >> >> 1
>>> >> >> > Gateway padrÆo: 187.42.78.204
>>> >> >> >
>>> >> >>
>>> >>
>>> ===========================================================================
>>> >> >> > Rotas persistentes:
>>> >> >> > Nenhuma
>>> >> >> > -------------------------
>>> >> >> > Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> >> >> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>> >> >> >
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> --
>>> >> >> Marcio Antunes
>>> >> >> Powered by FreeBSD
>>> >> >> ==================================
>>> >> >> * Windows: "Where do you want to go tomorrow?"
>>> >> >> * Linux: "Where do you want to go today?"
>>> >> >> * FreeBSD: "Are you, guys, comming or what?"
>>> >> >> -------------------------
>>> >> >> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> >> >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>> >> >>
>>> >> > -------------------------
>>> >> > Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> >> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> --
>>> >> Marcio Antunes
>>> >> Powered by FreeBSD
>>> >> ==================================
>>> >> * Windows: "Where do you want to go tomorrow?"
>>> >> * Linux: "Where do you want to go today?"
>>> >> * FreeBSD: "Are you, guys, comming or what?"
>>> >> -------------------------
>>> >> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> >> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>> >>
>>> > -------------------------
>>> > Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>> >
>>>
>>>
>>>
>>> --
>>> Marcio Antunes
>>> Powered by FreeBSD
>>> ==================================
>>> * Windows: "Where do you want to go tomorrow?"
>>> * Linux: "Where do you want to go today?"
>>> * FreeBSD: "Are you, guys, comming or what?"
>>> -------------------------
>>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>>>
>>
>>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
--
Marcio Antunes
Powered by FreeBSD
==================================
* Windows: "Where do you want to go tomorrow?"
* Linux: "Where do you want to go today?"
* FreeBSD: "Are you, guys, comming or what?"
Mais detalhes sobre a lista de discussão freebsd