Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» OpenVPN» Accessing Windows shares
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Accessing Windows shares  (Read 5105 times)
0 Members and 1 Guest are viewing this topic.
peterclo
Jr. Member
**
Offline Offline

Posts: 36


View Profile
« on: October 26, 2006, 04:51:26 am »

My pfsense/OpenVPN setup works fine, I can ping computers on my LAN by IP or DNS name (I push the DNS server to the client) and I can use Remote Desktop to connect to a Windows XP machine. However I can't directly access Windows shares or shares on a Linux based NAS. Using \\machine\Share or \\192.168.1.20\Share doesn't work, I get an error message saying the network path wasn't found. Shares work when you're directly on the LAN of course.

Does anybody know what's going on?

Sorry to ask here when it's not really a pfsense problem (I think) but I can't register on the OpenVPN forum for some reason.
Logged
SFM
Jr. Member
**
Offline Offline

Posts: 31


View Profile
« Reply #1 on: October 26, 2006, 09:14:05 am »

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
Logged
peterclo
Jr. Member
**
Offline Offline

Posts: 36


View Profile
« Reply #2 on: October 26, 2006, 09:24:59 am »

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!
Logged
peterclo
Jr. Member
**
Offline Offline

Posts: 36


View Profile
« Reply #3 on: October 27, 2006, 08:26:54 am »

Ah well, adding a WINS server didn't work either Sad 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.
Logged
SFM
Jr. Member
**
Offline Offline

Posts: 31


View Profile
« Reply #4 on: October 27, 2006, 09:26:14 am »

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?

Logged
peterclo
Jr. Member
**
Offline Offline

Posts: 36


View Profile
« Reply #5 on: October 27, 2006, 11:18:51 am »

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 Cheesy).
Logged
peterclo
Jr. Member
**
Offline Offline

Posts: 36


View Profile
« Reply #6 on: October 27, 2006, 12:02:35 pm »

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 Sad
Logged
SFM
Jr. Member
**
Offline Offline

Posts: 31


View Profile
« Reply #7 on: October 27, 2006, 12:34:00 pm »

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.
Logged
Mikhail
Jr. Member
**
Offline Offline

Posts: 31


View Profile
« Reply #8 on: October 29, 2006, 12:04:52 pm »

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!
Logged
peterclo
Jr. Member
**
Offline Offline

Posts: 36


View Profile
« Reply #9 on: October 30, 2006, 11:18:17 am »

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...
Logged
dairaen
Jr. Member
**
Offline Offline

Posts: 26


View Profile
« Reply #10 on: November 01, 2006, 10:58:23 am »

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
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.026 seconds with 19 queries.