charmander
Hello,
So I can connect to the VPN, as well as connect to all of the machines on the server LAN.
This is working without enabling routing in the registry, or running the RAS service. I couldn't get anything to work with those options enabled. The local area connection of the server is shared.
The only thing I can't do is ping or connect to these machines by hostname. But strangely, if I ping them with the -a switch, the name is given:
C:\Windows\System32>ping -a 192.168.1.106
Pinging SERVER [192.168.1.106] with 32 bytes of data:
Reply from 192.168.1.106: bytes=32 time<1ms TTL=128
Reply from 192.168.1.106: bytes=32 time<1ms TTL=128
Reply from 192.168.1.106: bytes=32 time<1ms TTL=128
Reply from 192.168.1.106: bytes=32 time<1ms TTL=128
The
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220" is enabled in the server config.
Any help is appreciated.
maikcat
you need to run a name resolving service (dns,wins) which is totally independent from openvpn itself..
Michael.
charmander
Thanks for your reply.
The windows DHCP and DNS services are both running on the server, or are you referring to something else?
maikcat
you are pushing 208.67.222.222 for dns services but
you are pinging private ips...
can you give an example of a hostname and to which ip should resolved?
is your server runs AD?
Michael.
charmander
SERVER [192.168.1.106]
maikcat
the server is not a fqdn.
try using wins.
Michael.
charmander
I can try WINS, but isn't there something you can configure through OpenVPN to accomplish this?
Something in the config?