I'm using the standard configs that come with the openvpn windows installer for both the server and the clients, but here they are for easy reference:
server:
Code: Select all
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
client
dev tun
proto udp
remote my-server-1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
comp-lzo
verb 3
I am able to connect without any problems, I can ping the server using the ip address 10.8.0.1 and even connect and browse the shared files using that ip.
The problem is that I cannot connect to the server using it's hostname. For instance, lets say the servers name is server1, I cannot successfully ping server1 and connecting to \\server1 also does not work.
The server is running Windows Server 2008, and the clients are running Windows 7 (I've tested on both 32 and 64 bit flavors).
Any help would be greatly appreciated.