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

    Routing or pass-through?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    23 Posts 3 Posters 4.4k Views
    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.
    • C Offline
      c4bcons
      last edited by

      @johnpoz:

      Screenshot of your firewall rules was what I was talking about ;)

      Your directly connecting your ports to different interfaces in pfsense - why are you tagging them on pfsense?

      wasn't sure about whether you wanted a screenshot or the complete set - it took seconds for the set :)
      again … I wasn't sure whether or not the pfsense had to tag the traffic, so I did it anyway :)  I'll take it away.
      what I'd really like to do is keep traffic on each vlan separate, with the exception of access to the samba server, and a couple of lan connected printers.  The samba server is a Linux box with Samba running.
      I don't understand the two "pass in quick ...."

      1 Reply Last reply Reply Quote 0
      • C Offline
        c4bcons
        last edited by

        I've removed the tagging from the configuration and rebooted.  The wireless LAN and the home lans seem to be working fine.  I can VPN to work over the wireless LAN.  But I can still ping from 192.168.4.x to 192.168.2.x, which I don't want to do.  And I still can't see the samba share but I can see the printers on the 192.168.1.x network.  There may be something awry with my Samba setup, so I'll check that.

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

          You can still ping because you have ANY ANY rules!!!  Yeah your going to be able to do anything you want.. Your just routing really not firewalling with an any any rule..

          You can not see your shares??  So your trying to like browse to them??  Via like your network neighborhood or something?  That is not going to work across segments.  Just access the box directly via its name or IP, ie \computername.domain.tld or \IPADDRESS

          Post up your rules via a screenshot.. If you wan to be able to access your smb shares, then your going to need to allow tcp 445 if you don't want to be able to ping, then don't allow icmp, or block it before you allow any, etc.

          Rules are evaluated top down, first rule to trigger wins and the rest of the rules are not looked at.  As the traffic enters interface on pfsense..  So if you don't want vlan X to talk to vlan Y on icmp..  Then on vlan X you would create rules that block icmp, or don't allow it..

          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.1 | Lab VMs 2.8, 25.07.1

          1 Reply Last reply Reply Quote 0
          • C Offline
            c4bcons
            last edited by

            Thank you johnpoz - it's like learning a new foreign language!  I will look at this later today and report back.

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

              heheeh - yeah sure it can seem like that..

              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.1 | Lab VMs 2.8, 25.07.1

              1 Reply Last reply Reply Quote 0
              • C Offline
                c4bcons
                last edited by

                OK, so I've checked samba on the same vlan as the server and it worked first time, so something's being blocked (I guess).  If I want access samba from my wireless LAN, for instance, How do I enable tcp 445?  .. current rules are below.  The samba server is on the LAN

                ![WAN rules.png](/public/imported_attachments/1/WAN rules.png)
                ![WAN rules.png_thumb](/public/imported_attachments/1/WAN rules.png_thumb)
                ![LAN rules.png](/public/imported_attachments/1/LAN rules.png)
                ![LAN rules.png_thumb](/public/imported_attachments/1/LAN rules.png_thumb)
                ![Wireless Rules.png](/public/imported_attachments/1/Wireless Rules.png)
                ![Wireless Rules.png_thumb](/public/imported_attachments/1/Wireless Rules.png_thumb)
                ![homelan rules.png](/public/imported_attachments/1/homelan rules.png)
                ![homelan rules.png_thumb](/public/imported_attachments/1/homelan rules.png_thumb)

                1 Reply Last reply Reply Quote 0
                • C Offline
                  c4bcons
                  last edited by

                  Hi sorry to bump this message. Can anyone tell me how to enable tcp on port 445?  I have tried to work it out but I'm really not quite sure where it's done.  Thank you

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

                    You have an ANY ANY rule - so yeah tcp 445 is open..  If you can not access the shares, then look to firewall running on where the shares are..  Out of the box windows firewall is not going to allow access to its shares from IPs other than its on local network.

                    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.1 | Lab VMs 2.8, 25.07.1

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      c4bcons
                      last edited by

                      Hm, thank you for the post.  I'm running Linux so there isn't a firewall running.
                      And I can ping the server no problem.

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

                        Linux has firewalls ;)  So you meant to say your not running one ;)

                        So your accessing it how \IPaddress of the samba server?  Or \hostname and its not resolving?

                        Your not going to be able to resolve a hostname via broadcast across segments.  So like I said before your going to have to use fqdn or ipaddress.

                        What does your samba.conf look like.. Do you have this other network in your hosts allow statement?  If not then no you wouldn't be able to access it.

                        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.1 | Lab VMs 2.8, 25.07.1

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          c4bcons
                          last edited by

                          OK, I'll check everything tomorrow.  Thank you.  Yes, I know Linux has firewalls …. but unlike windoze it doesn't install one without you asking for it.  :)

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

                            Well that would depend on the distro ;)  But I hear ya…

                            My guess would be your host allow, if that has your network in.  Then do a simple sniff on pfsense.  Do you see your traffic going to your samba host, do you see a reply?  This can even show if you get an answer to why your denied access, etc.

                            Do packet capture on your lan interface.. Use the IP address of your samba box as filter.. Then try and connect from your wifi network.. Do you see traffic?  Do you see syn,ack back?  Load it up in wireshark and see what is going on.  If you don't see traffic going there, then sniff on your wifi interface do you see the client sending the traffic.

                            If you see the syn but not the syn,ack back when sniffing on the lan.. Then its your samba box or your sending to the wrong mac, 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.1 | Lab VMs 2.8, 25.07.1

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              c4bcons
                              last edited by

                              It's been a while, I know.  Yes, I can connect directly by IP address but I can't see the Samba share.  I'll come back with some more thoughts about my requirements in a few days ..

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