Hi all,
I have already read many topics for my problem but still the same.
Here it is my configuration :
LAN (where the server with OpenVPN is) : 192.168.0.0/24
LAN 2 (where my PC is) : 192.168.0.0/24
VPN network : 10.8.0.0/24
Server.ovpn :
port 1194
proto udp
dev tun
server 10.8.0.0 255.255.255.0
ca ca.crt #certs are optional. you may choose to go with keys or passwords instead.
cert server.crt
key server.key
dh dh1024.pem
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 192.168.0.38"
push "dhcp-option DNS 8.8.8.8"
client-to-client
#the following commands are optional
keepalive 10 120
comp-lzo
persist-key
persist-tun
verb 3
Client1.ovpn :
client
dev tun
proto udp
remote xxx.xxx.xxx.xxx 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\keys\\client1.key"
ns-cert-type server
comp-lzo
verb 3
explicit-exit-notify 2
ping 10
ping-restart 60
route-method exe
route-delay 2
IPconfig on server :
Configuration IP de Windows
Nom de l'hôte . . . . . . . . . . : SERVEUR
Suffixe DNS principal . . . . . . : chronopropre.local
Type de noeud. . . . . . . . . . : Hybride
Routage IP activé . . . . . . . . : Non
Proxy WINS activé . . . . . . . . : Non
Liste de recherche du suffixe DNS.: chronopropre.local
Carte Ethernet Connexion au réseau local 3 :
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : TAP-Win32 Adapter V9
Adresse physique . . . . . . . . . . . : 00-FF-17-97-6E-C5
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::4172:c2f:c76c:e4f%17(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 10.8.0.1(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Bail obtenu. . . . . . . . . . . . . . : mercredi 27 juin 2012 16:34:13
Bail expirant. . . . . . . . . . . . . : jeudi 27 juin 2013 16:34:13
Passerelle par défaut. . . . . . . . . :
Serveur DHCP . . . . . . . . . . . . . : 10.8.0.254
IAID DHCPv6 . . . . . . . . . . . : 285277975
DUID de client DHCPv6. . . . . . . . : 00-01-00-01-14-9A-E9-76-B8-AC-6F-98-0A
-BA
Serveurs DNS. . . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS sur Tcpip. . . . . . . . . . . : Activé
Carte Ethernet Connexion au réseau local 2 :
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Intel(R) PRO/1000 PT Server Adapter
Adresse physique . . . . . . . . . . . : 00-1B-21-85-4F-2B
DHCP activé. . . . . . . . . . . . . . : Non
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::a109:3ff3:59ad:37fe%13(préféré
)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.0.38(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Passerelle par défaut. . . . . . . . . : 192.168.0.1
IAID DHCPv6 . . . . . . . . . . . : 318774049
DUID de client DHCPv6. . . . . . . . : 00-01-00-01-14-9A-E9-76-B8-AC-6F-98-0A
-BA
Serveurs DNS. . . . . . . . . . . . . : ::1
127.0.0.1
IPconfig on my PC :
C:\Users\ipmasfo>ipconfig /all
Configuration IP de Windows
Nom de l'hôte . . . . . . . . . . : ippc01
Suffixe DNS principal . . . . . . :
Type de noeud. . . . . . . . . . : Hybride
Routage IP activé . . . . . . . . : Non
Proxy WINS activé . . . . . . . . : Non
Carte Ethernet Connexion au réseau local 2 :
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : TAP-Win32 Adapter V9
Adresse physique . . . . . . . . . . . : 00-FF-D7-8C-2A-77
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv4. . . . . . . . . . . . . .: 10.8.0.6(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.252
Bail obtenu. . . . . . . . . . . . . . : mercredi 27 juin 2012 18:23:20
Bail expirant. . . . . . . . . . . . . : jeudi 27 juin 2013 18:23:20
Passerelle par défaut. . . . . . . . . :
Serveur DHCP . . . . . . . . . . . . . : 10.8.0.5
Serveurs DNS. . . . . . . . . . . . . : 192.168.0.38
8.8.8.8
NetBIOS sur Tcpip. . . . . . . . . . . : Activé
Carte réseau sans fil Connexion réseau sans fil :
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Liaison WiFi sans fil Intel(R) 4965A
GN
Adresse physique . . . . . . . . . . . : 00-1F-3B-07-BD-D9
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv4. . . . . . . . . . . . . .: 192.168.0.14(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Bail obtenu. . . . . . . . . . . . . . : mercredi 27 juin 2012 17:38:36
Bail expirant. . . . . . . . . . . . . : jeudi 28 juin 2012 05:38:36
Passerelle par défaut. . . . . . . . . : 192.168.0.254
Serveur DHCP . . . . . . . . . . . . . : 192.168.0.254
Serveurs DNS. . . . . . . . . . . . . : 192.168.0.254
NetBIOS sur Tcpip. . . . . . . . . . . : Activé
With all of this, I can connect to the VPN, get an IP but i can't ping nothing.
Many thanks for your help !!