Client Windows 7 can't run ping
Posted: Fri Jan 20, 2012 10:45 am
Hello everyone, I've just installed a openvpn on linux machine CentOS 5.7. I've done a test with an windows 7 client machine but unsucessful. the client can't run ping to lan network office. I release when I run a ping from these client windows 7 the packages aren't forward to tun interface are forward to Internet insted.
follow my client.conf
client
proto udp
dev tun
ca ca.crt
dh dh2048.pem
cert teste.crt
key teste.key
remote 177.19.226.164 1194
cipher DES-CBC
verb 2
mute 20
keepalive 10 120
comp-lzo
persist-key
persist-tun
float
resolv-retry infinite
nobind
push "route 192.168.30.0 255.255.255.0"
follow my server.conf
port 1194
proto udp
dev tun0
ca keys/srvbmx/ca.crt
cert keys/srvbmx/keysrv.crt
key keys/srvbmx/keysrv.key
dh keys/srvbmx/dh2048.pem
server 10.80.80.0 255.255.255.0
crl-verify keys/srvbmx/crl.pem
cipher DES-CBC
status servers/srvbecomex/logs/openvpn-status.log
log-append servers/srvbecomex/logs/openvpn.log
verb 2
mute 20
max-clients 100
local 172.16.0.1
keepalive 10 120
client-config-dir /etc/openvpn/servers/srvbecomex/ccd
client-to-client
duplicate-cn
comp-lzo
persist-key
persist-tun
ccd-exclusive
push "dhcp-option DNS 192.168.30.34"
push "dhcp-option DNS 192.168.30.30"
push "dhcp-option DOMAIN becomex.corp"
push "route 192.168.30.0 255.255.255.0"
where 192.168.30.0/24 is the network lan office.
Why I can't access the lan office network from a windows 7 client ? why the traffic doesn't is forward to tunnel interface in the windows 7 ? what I have to do ?
thanks
follow my client.conf
client
proto udp
dev tun
ca ca.crt
dh dh2048.pem
cert teste.crt
key teste.key
remote 177.19.226.164 1194
cipher DES-CBC
verb 2
mute 20
keepalive 10 120
comp-lzo
persist-key
persist-tun
float
resolv-retry infinite
nobind
push "route 192.168.30.0 255.255.255.0"
follow my server.conf
port 1194
proto udp
dev tun0
ca keys/srvbmx/ca.crt
cert keys/srvbmx/keysrv.crt
key keys/srvbmx/keysrv.key
dh keys/srvbmx/dh2048.pem
server 10.80.80.0 255.255.255.0
crl-verify keys/srvbmx/crl.pem
cipher DES-CBC
status servers/srvbecomex/logs/openvpn-status.log
log-append servers/srvbecomex/logs/openvpn.log
verb 2
mute 20
max-clients 100
local 172.16.0.1
keepalive 10 120
client-config-dir /etc/openvpn/servers/srvbecomex/ccd
client-to-client
duplicate-cn
comp-lzo
persist-key
persist-tun
ccd-exclusive
push "dhcp-option DNS 192.168.30.34"
push "dhcp-option DNS 192.168.30.30"
push "dhcp-option DOMAIN becomex.corp"
push "route 192.168.30.0 255.255.255.0"
where 192.168.30.0/24 is the network lan office.
Why I can't access the lan office network from a windows 7 client ? why the traffic doesn't is forward to tunnel interface in the windows 7 ? what I have to do ?
thanks