Accessing Windows shares
-
Do you have a WINS server running on your windows network?
Push the WINS server to your vpn clients.
Make sure the servers with shares have the wins server in there TCP\IP properties.push "dhcp-option DNS 10.66.0.4"
push "dhcp-option DNS 10.66.0.5"
push "dhcp-option WINS 10.66.0.8"SFM
-
Ah I see, my current VPN setup (Netgear router) doesn't need any WINS server, I take it OpenVPN does. I'll set a WINS server up then. Thanks a lot!
-
Ah well, adding a WINS server didn't work either :( I found something here: http://brneurosci.org/linuxsetup71.html (two thirds down, just above Part 2).
It does look like my problem though he can access a computer on the LAN by typing its IP, which I can't.
-
Are you using UDP or TCP?
I know when I used UDP it would work from some locations but not others.
Once I changed to TCP I had no issues connecting to shares.Are the servers you have shares on using the pfsense as the gateway?
-
I'm using UDP, I'll try switching to TCP.
And yes, the servers I'm trying to connect to are using pfsense as the gateway (I'm not going to fall for that one again :D).
-
I tried switching to UDP but same problem. I can ping an IP, ping a DNS name, connect to a Windows XP SP2 client through Remote Desktop but not access shares using \IP or \DNS_Name :(
-
I have one more idea.
Are you connecting with windows xp service pack2?
If so you may have to disable the firewall on the ovpn device to get things to work properly.
You can leave the firewall on all other adapters just disable it on the openvpn adapter.Xp with service pack2 and the firewall and openvpn have some issues. You can check out openvpn.org for more information.
-
@SFM:
I have one more idea.
Are you connecting with windows xp service pack2?
If so you may have to disable the firewall on the ovpn device to get things to work properly.
You can leave the firewall on all other adapters just disable it on the openvpn adapter.Xp with service pack2 and the firewall and openvpn have some issues. You can check out openvpn.org for more information.
You was right, thanks!
-
The client I am using has a ZoneAlarm firewall installed and I had defined the TAP adapter as a Secure Zone so it shouldn't be firewalled. EXCEPT IT WAS! I completely disabled the firewall and I could instantly access my shares…
-
cheers,
i will add all solutions & fallbacks to the tutorial
so we can prevent further problems like these.will be online next week.
kind regards
dairaen