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

    samba 4 AD and pfsense

    Scheduled Pinned Locked Moved Firewalling
    7 Posts 2 Posters 636 Views 2 Watching
    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.
    • T Offline
      toni networking
      last edited by

      I implemented pfsense on my network. more time the margins are not accommodated as shared folders on my file server (Samba). in the logs port 445 appeared TCP: SA, even authorizing the port!0_1552135164003_pfsense.PNG

      1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Points to asymmetrical seeing a Syn, Ack blocked like that.. Meaning the SYN hit your box 9.4 from 5.13 without going through pfsense to allow it to create the state.

        Can you provide a drawing of your networks connections so we can figure why your seeing the SA on pfsense.. Do you have downstream router? Do you have boxes with wrong mask set on the same network? 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 25.07 | Lab VMs 2.8, 25.07

        1 Reply Last reply Reply Quote 0
        • T Offline
          toni networking
          last edited by

          Hello johnpoz
          my topology is like
          0_1552136083478_samba.png

          1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator
            last edited by

            Yeah that is asymmetrical. You have your 3560 doing routing.. So 192.168.9/24 becomes your transit..

            You would do it like this to prevent asymmetrical routing.

            You could use 9/24 as your transit and move your samba box to new network
            0_1552136896674_method1.png

            Or you could leave samba on 9/24 and create new transit between pfsense and your downstream router.

            0_1552136922754_method2.png

            But what is happening is this.

            0_1552137001394_ass.png

            Pfsense never sees the syn, because your 3560 is in the 9/24 so sends syn direct to samba box at 9.4 while samba has no idea how to get back to downstream networks, so sends to its gateway pfsense the syn,ack - pfsense says huh what? There is not state for that.

            Other work around would be to do host routing on samba to say hey to get to 192.168.2, .3 and .4/24 talk to 192.168.9.254 on 3560... But that is not really best solution... But would be a work around until you can create correct transit network to 3560 from pfsense.

            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 25.07 | Lab VMs 2.8, 25.07

            1 Reply Last reply Reply Quote 1
            • T Offline
              toni networking
              last edited by

              I'm using proxmox to virtualize my server, samba and pfsense are sharing the same interface

              1 Reply Last reply Reply Quote 0
              • johnpozJ Offline
                johnpoz LAYER 8 Global Moderator
                last edited by

                Well create a NEW network in proxmox and put your VM samba server there.. Or use a vlan for your transit, etc.. Or get rid of your downstream router..

                Your current configuration is asymmetrical.. If you want to run it like that - borked if you ask me! Then you would have to host route on your samba box like I suggested.

                Or you would have to NAT on your 3560 so the downstream networks all look like they come from 9.254 so that your AD server would know how to talk back, etc.

                There are many ways to skin this cat.. The correct way is not to do asymmetrical routing.

                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 25.07 | Lab VMs 2.8, 25.07

                1 Reply Last reply Reply Quote 0
                • T Offline
                  toni networking
                  last edited by

                  Thanks johnpoz is working now

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