OpenVPN Network issues

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
greggk
OpenVpn Newbie
Posts: 2
Joined: Thu Sep 23, 2010 2:06 pm

OpenVPN Network issues

Post by greggk » Thu Sep 23, 2010 2:33 pm

Hello,
I have had an openvpn setup for a few years now, and it works great for what I used it for. The server is a Windows XP computer, and the clients are windows 7 machines. The clients can connect to the server fine, and they can ping every computer on the servers network. I can use VNC on any of the computers on the servers network. The problem now lies on the client computers, when you go into networks, you do not see any of the computers on the servers network, eventhough you can ping them, you can not see them at all. I have even tried to map a network drive using an IP address, and I couldn't get it done, eventhough I could ping that same IP on the server network. On the client machines, if you go to network and sharing the OpenVPN shows up as unidentified network, could that be an issue? Any thoughts or suggestions is appreciated.

greggk
OpenVpn Newbie
Posts: 2
Joined: Thu Sep 23, 2010 2:06 pm

Re: OpenVPN Network issues

Post by greggk » Fri Sep 24, 2010 11:42 am

Update
I think most of the issues I've had have been firewall related. I did disable the firewall on both sides, and I am able to map a network drive from client to the server network.
Server network is 192.168.2.0
Client network is 172.16.5.0
VPN network is 10.8.2.0

Client is able to ping all of the IPs on the server network i.e. 192.168.2.0

Client is able to map \\192.168.2.12\public

Client is still not able to see any of the servers computers in the network neighborhood.
On the client configuration I added the following:
route-metric 512
route 0.0.0.0 0.0.0.0
That made it possible for me to move the tap network to something other than unidentified networks in the network and sharing folder.
Client is still not able to ping the "names" of the servers behind the vpn
example. Main vpn server is called SERVER, and that server is on the IP 192.168.2.11
if I ping SERVER from the client, I do get a response, but it's to the servers VPN address, which is 10.8.2.1
There is a network drive on the server network called STORAGE on IP 192.168.2.12
I am NOT able to ping STORAGE, but I am able to ping the IP 192.168.2.12 and I am able to map the drive using the IP, and not the name. So, I am getting closer :)
Here is my server config file
port 1194
proto udp
dev tun
ca "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\ca.crt"
cert "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.crt"
key "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\server.key" # This file should be kept secre
dh "c:\\Program Files\\OpenVPN\\easy-rsa\\keys\\dh1024.pem"
server 10.8.2.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.2.0 255.255.255.0"
push "dhcp-option DNS 10.8.2.1"
push "dhcp-option WINS 10.8.2.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3

User avatar
krzee
Forum Team
Posts: 729
Joined: Fri Aug 29, 2008 5:42 pm

Re: OpenVPN Network issues

Post by krzee » Tue Nov 16, 2010 11:24 am

for netbios resolution you need a WINS server

Post Reply