cfusionbr
(usa Ubuntu)
Enviado em 25/11/2011 - 17:21h
já tinha esta opcao marcada no meu .conf da openvpn ...
mas nao funciona ... tenho outros dois hosts ( 192.168.20.5 / 192.168.20.254 ) e de dentro do server eu pingo,
fora da rede nao ...... alguma outra sugestao amigo ?
192.168.20.254 = modem
eth0 Link encap:Ethernet HWaddr 44:87:fc:e5:06:22
inet addr:192.168.20.2 Bcast:192.168.20.255 Mask:255.255.255.0
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.0.0.1 P-t-P:10.0.0.2 Mask:255.255.255.255
root@servi:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.0.0 10.0.0.2 255.255.255.0 UG 0 0 0 tun0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.20.254 0.0.0.0 UG 0 0 0 eth0
aqui esta a minha conf do server ...
proto udp
port 1194
dev tun
server 10.0.0.0 255.255.255.0
push "route 192.168.20.0 255.255.255.0"
push "dhcp-option DNS 192.168.20.254"
push "dhcp-option WINS 192.168.20.254"
# Configuracoes adicionais no cliente
push "ping 10"
push "ping-restart 60"
# Rotas do servidor
route 10.0.0.0 255.255.255.0
comp-lzo
keepalive 10 120
float
#ifconfig-pool-persist ipp.txt
max-clients 10
persist-key
persist-tun
verb 3
tls-server
######################################
dh /etc/openvpn/keys/dh1024.pem
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
tls-auth /etc/openvpn/keys/chave.key
#####################################
status /var/log/openvpn.stats
log-append /var/log/openvpn.log