OVPN: Win XP client - no access to shared files through TAP interface IP
-
Is the remote desktop working without any problems? If so, there is probably no issue with ICMP packet flow, but something else. Packet sniffing could help you to determine if packets are going thru correct interface. You can try for example Wireshark (www.wireshark.org) on Windows machines or tcpdump in SSH session of your pfSense router (there is no need to install it - just check manual page - http://www.manpages.info/freebsd/tcpdump.1.html and use it).
Oh, ok… I'm sorry, because I saw shared folder's name "sklad_computer" and word "sklad" has meaning in czech language. ;) -
ok, after reading a lot in the forum i realized that it is not possible to have access to the windows shares in a routed mode (without samba or wins server). so i changed my configuration to a bridged mode. I am connected but still can't figure how to route to my client ethernet through the TAP interface.
However, when I make a bridge on the client pc (windows xp) between the ethernet card and tap , i finally got what i wanted. I have access to the windows shares through the tap ip(192.168.2.128). My question is if it is possible to do this without a bridge on the client side. In the custom options on pfsense ovpn server i have : server-bridge 192.168.2.254 255.255.255.0 192.168.2.128 192.168.2.135; push "route 192.168.5.0 255.255.255.0"; route 192.168.2.128 255.255.255.0
192.168.50.0 255.255.255.0 is my ethernet card subnet
and 192.168.2.128 is the ip i get on the TAP interface…any suggestions? :-\
-
ok, after reading a lot in the forum i realized that it is not possible to have access to the windows shares in a routed mode (without samba or wins server). so i changed my configuration to a bridged mode. I am connected but still can't figure how to route to my client ethernet through the TAP interface.
This is not true.
A windows share IS a samba server.
I'm not sure what you did wrong, but i access my windows shares at home all the time through OpenVPN. In a standard routed setup. –> NOT a bridged setupAre you sure you dont have the windowsfirewall enabled?
-
I am using pppoe through the lan interface on the client side. Only the pppoe has the firewall enabled. Both tap and lan have file and printer sharing enabled and the client for windows networks too.
So, do you mean that these routes between TAP and ethernet card are generated automatically? Or do u have any special routes to access the windows shares with the TAP IP?
if i did something wrong it should be on the client side(win xp) i guess, since i have access to the LAN behind pfsense OVPN server.
thanx for the help!
-
Finallyyyyyyyyy, i found what the problem was!!!!!
I unchecked the DHCP-Opt.: Disable NetBIOS option in the pfsense gui, i did everything according to the HOWTO but i guess this option wasn't explained very well.
I'm very happy. Now my ovpn works perfectly. Hope so at least :)))
Cheers.
I think this thread could be closed now
-
bravo83 when you said it works do you mean you can connect to clients using their ip addresses, or can you actually see them in the workgroup section too? I can connect using the IPs of the computers behind my LAN but when i go to my workgourps i don't see them there… DO i need to setup WINS for that?
-
The workgroup relies on UDP broadcasts which naturally cannot get over a router.
Yes you need to assign a WINS entry per DHCp and a WINS server if you want to work with the workgroup. -
oh ok, luckily i only need to share files with 1 or 2 pcs, so i can just connect to them using their ip addresses. Thanks for the help.
-
i meant that i can access the ip-s now..
however, i changed my setup to bridged mode and i can do browsing as well now. Routed mode is recommended but i could't get a program working which uses a sql database on a server behind the pfsense box…
-
bravo83 may i ask which guide did you specifically follow to enable bridging on pfSense?
Thanks.