• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Windows Share through OpenVPN

OpenVPN
4
11
3.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pisasalesgmbh
    last edited by Jul 30, 2014, 10:09 AM

    Do you use right credentials?  ;)

    e.g.

    DOMAINNAME\username
    "password"

    or

    username@DOMAINNAME
    "password"

    please test…

    Regards,
    David

    1 Reply Last reply Reply Quote 0
    • S
      scolland
      last edited by Aug 5, 2014, 9:47 AM

      Hi,

      Yes I have tried all combinations, no domain, DOMAIN\ and @DOMAIN etc.

      Nothing seems to authenticate.

      1 Reply Last reply Reply Quote 0
      • M
        mikeisfly
        last edited by Aug 5, 2014, 9:59 AM

        If there is no domain then your login would be \username .
        Also make sure your firewall allows smb across different subnet or different networks for that matter.

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Aug 5, 2014, 12:34 PM

          Well I would look at the logs on the server to why you were denied or sniff the traffic to figure out what the server is sending back as deny reason, etc.

          Are you using signed smb?  smb3 ? What is the server - 2003, 2008, 2012 r2 not r2? etc..  Do window clients work?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • S
            scolland
            last edited by Aug 11, 2014, 3:18 PM

            Hi,

            Thanks for your message. It is Windows Server 2008. I temporarily disabled the Windows Firewall all together to see if that helped, it did not.

            I am not sure if there is something in pfsense I should be configuring? - I have a rule setup in Firewall Rules to forward everything from OpenVPN to LAN Net - is that correct?

            How do I check if it is signed SMB or what version of SMB I am using?

            Thanks in advance.

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Aug 11, 2014, 3:32 PM

              why would you have setup a "forward"  You would not forward from you openvpn connection.  You would allow the traffic on the firewall - but not a forward.  A normally vpn connection into pfsense is like just another segment - just with a slower high latency connection.

              http://support.microsoft.com/kb/2696547
              How to enable and disable SMBv1, SMBv2, and SMBv3 in Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, and Windows Server 2012

              http://technet.microsoft.com/en-us/library/cc731957.aspx
              Require SMB Security Signatures

              A simple sniff on your client or on the server itself should give you some info to work with on why your auth is not working.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • S
                scolland
                last edited by Aug 11, 2014, 3:51 PM

                Thanks Johnpoz,

                How do I sniff the traffic? - Client is OS X, router pfsense and server Server 2008?

                Thanks

                1 Reply Last reply Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator
                  last edited by Aug 11, 2014, 4:26 PM

                  Well on 2k8 you could install wireshark.  Same goes for your OS X client if does not have tcpdump or wireshark already installed.  Or pfsense has the built in ability - I would sniff traffic on the interface that your 2k8 server is on.  limiting traffic to just the 2k8 server IP..  Then try and auth, and then open the capture in wireshark.

                  Packet capture is under diag on pfsense web gui.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • S
                    scolland
                    last edited by Aug 13, 2014, 7:56 AM

                    I have captured 13 packets going from 192.168.2.10 (VPN client) to 192.168.0.4 (Server) or vive versa, but I have no idea what they mean or how to use them to diagnose the issue.

                    What am I looking for?

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by Aug 13, 2014, 1:02 PM

                      What does it show you for auth..  Send the capture to me and be happy to take a look.  Email me and attach or email me or PM and will give you my personal email, etc.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      11 out of 11
                      • First post
                        11/11
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.