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

    Printer on Separate VLAN Issue

    Scheduled Pinned Locked Moved Routing and Multi WAN
    26 Posts 4 Posters 1.5k 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.
    • S
      stevencavanagh @Gertjan
      last edited by

      @Gertjan

      I have exactly the same rules on the Printer VLAN as on the IOT VLAN??

      The printer always gets the same IP address (static mapping).

      Added the pass all rule as requested but still has an issue.

      Steve

      P GertjanG 2 Replies Last reply Reply Quote 0
      • P
        Popolou @stevencavanagh
        last edited by

        @stevencavanagh Xerox detailed how their devices connect here and should give you a way to investigate connectivity via the fw logs. The printer connects via TLS on 443 so i doubt you are blocking that which would suggest it could be the other ports or the hostname.

        Repeating myself here but what packages are you running?

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @stevencavanagh
          last edited by

          @stevencavanagh said in Printer on Separate VLAN Issue:

          Added the pass all rule as requested but still has an issue.

          A pass rule for that printer IP - select the IP of the printer as the source IP.
          And make the rule log.
          Now, whenever the printer goes out shopping, you have a trace.

          Ones the pass rule is in place, the printer can go out.
          If it still can not connect, you have other issues.

          As you've mentioned VLANs, no need to look very long : ditch all your VLANs, and suddenly things start to work ^^

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          S 1 Reply Last reply Reply Quote 0
          • S
            stevencavanagh @Popolou
            last edited by

            @Popolou

            Apologies, forgot to document the packages running!

            Avahi, Darkstat, freeradius3, iperf, mailreport, nut, openvpn-client-export, pfBlockerNG, squid, squidGuard, Status_Traffic_Totals

            Not particularly familiar with PfBlockerNG, so anything I should be looking for and where. Can't see anything obvious though.

            P 1 Reply Last reply Reply Quote 0
            • S
              stevencavanagh @Gertjan
              last edited by

              @Gertjan

              Checked the firewall logs and have nothing being blocked at all! Assume there must be other issues but God knows what!

              the otherT GertjanG 2 Replies Last reply Reply Quote 0
              • the otherT
                the other @stevencavanagh
                last edited by

                @stevencavanagh
                Just guessing here...you mentioned pfblocker...any logs show anything there?
                Do you use GeoIP blocking outbound?

                Logs for pfblocker: Firewall > pfblocker there Logs set to ip_block.log and have a look at what's been blocked so far.

                the other

                pure amateur home user, no business or professional background
                please excuse poor english skills and typpoz :)

                S 2 Replies Last reply Reply Quote 0
                • GertjanG
                  Gertjan @stevencavanagh
                  last edited by

                  @stevencavanagh said in Printer on Separate VLAN Issue:

                  Checked the firewall logs and have nothing being blocked at all! Assume there must be other issues but God knows what!

                  With these two rules (ignore the first rule) :

                  9e0b0e59-19fa-4de2-8be2-8c586662a567-image.png

                  pfSense can't block any traffic with these two rules.

                  And yeah, @stevencavanagh is right, if you use pfBlockerng you better check if that one - as per your instructions ! - block DNS requests or IPs ....

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    stevencavanagh @the other
                    last edited by

                    @the-other

                    Nothing showing in the Pfblocker logs........

                    3516cd75-a729-48f7-a011-96708a46ac0b-image.png

                    1 Reply Last reply Reply Quote 0
                    • P
                      Popolou @stevencavanagh
                      last edited by Popolou

                      @stevencavanagh said in Printer on Separate VLAN Issue:

                      @Popolou

                      Apologies, forgot to document the packages running!

                      Avahi, Darkstat, freeradius3, iperf, mailreport, nut, openvpn-client-export, pfBlockerNG, squid, squidGuard, Status_Traffic_Totals

                      Not particularly familiar with PfBlockerNG, so anything I should be looking for and where. Can't see anything obvious though.

                      @stevencavanagh I'd investigate within pfB first. Depending on what blocklists you have, it could be that the aforementioned hostname is on the list. Also, investigate the "IP Interface/Rules Configuration" tab under the IP setting: it is possible you didn't set the package to monitor the IoT vlan which could indicate why the device was able to access those servers without restriction. Another test is to join that vlan and test to see if you can reach the same remote host just as the printer would.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stevencavanagh @the other
                        last edited by

                        @the-other

                        The pfblocker logs appear to be all empty!

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • S
                          stevencavanagh @Gertjan
                          last edited by

                          @Gertjan

                          Implemented those 2 rules but no change!

                          1 Reply Last reply Reply Quote 0
                          • GertjanG
                            Gertjan @stevencavanagh
                            last edited by

                            @stevencavanagh said in Printer on Separate VLAN Issue:

                            The pfblocker logs appear to be all empty!

                            What log ?

                            Goto this page :

                            03e2b6f3-92da-4290-8000-db5463541f7f-image.png

                            and hit Ctrl-F, type in the IP LAN of the printer, and see what pops up.

                            Also check the "Unified" log, look under "SRC".

                            @Popolou said in Printer on Separate VLAN Issue:

                            squid, squidGuard,

                            Now all bets are off .... you just opened up a whole swimming pool full of potential issues 😊

                            No "help me" PM's please. Use the forum, the community will thank you.
                            Edit : and where are the logs ??

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              stevencavanagh @Gertjan
                              last edited by

                              @Gertjan

                              Checked logs as described and nothing at all with the printer ip address

                              the otherT 1 Reply Last reply Reply Quote 0
                              • the otherT
                                the other @stevencavanagh
                                last edited by

                                @stevencavanagh
                                well, tried to disable snort and co for a test to be sure THAT is not interfering?
                                Are (after that change from Vlan IoT to Vlan Printer) the printer's DNS settings okay? In case DNS info is not sent by dhcp...

                                the other

                                pure amateur home user, no business or professional background
                                please excuse poor english skills and typpoz :)

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  stevencavanagh @the other
                                  last edited by

                                  @the-other

                                  DNS settings seem fine.........

                                  9ee49ff3-7eda-490c-b0fe-6347c398c389-image.png

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    Popolou @stevencavanagh
                                    last edited by

                                    @stevencavanagh If the printer is set to DHCP but it is getting those DNS, you got other more fundamental problems to investigate tbh.

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      stevencavanagh @Popolou
                                      last edited by

                                      @Popolou

                                      Such as?

                                      GertjanG 1 Reply Last reply Reply Quote 0
                                      • GertjanG
                                        Gertjan @stevencavanagh
                                        last edited by

                                        @stevencavanagh said in Printer on Separate VLAN Issue:

                                        DNS settings seem fine.........

                                        No, your handing over all DNS request to "who ever" and not to pfSense (by default 192.168.1.1 - no second DNS needed). All DNS traffic from the printer totally bypasses pfSense.

                                        If you have to give 8.8.8.8 or 1.1.1.1 your DNS requests by contract (they pay you for that info ?) then ok, you do you.
                                        Normally, DNS should be set up per DHCP info received, so DNS is 192.168.1.1 (pfSense LAN IP by default, or whatever you've set up)

                                        You can leave all DNS fields empty (and not 0.0.0.0 !)

                                        Test also with "Enable Auto IP" not checked.

                                        No "help me" PM's please. Use the forum, the community will thank you.
                                        Edit : and where are the logs ??

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          stevencavanagh @Gertjan
                                          last edited by

                                          @Gertjan

                                          So had a quick look at how the DHCP server is currently set up and changed it so it uses DNS resolver and the DHCP server now shows the server options as blank (DNS Server 1 now has the gateway in automatically ie. 192.168.0.1) for the LAN. I assume this is now correct?

                                          GertjanG 1 Reply Last reply Reply Quote 0
                                          • GertjanG
                                            Gertjan @stevencavanagh
                                            last edited by

                                            @stevencavanagh

                                            If 192.168.0.1 is your pfSense LAN IP, then, IMHO, 👍

                                            No "help me" PM's please. Use the forum, the community will thank you.
                                            Edit : and where are the logs ??

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