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.2k 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

      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
                                    • S
                                      stevencavanagh @Gertjan
                                      last edited by

                                      @Gertjan

                                      Yes it is, so will update the VLANs accordingly and then try the other things you suggested ie. Not auto ip etc and see what happens.

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

                                        @Gertjan

                                        Didn't seem to make any difference unticking "enable Auto IP" unfortunately.

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

                                          Just in case anyone else ends up in the same place as me..............

                                          I managed to solve the issue and found there was no access to the internet on the PRINTERS VLAN, despite having the firewall rules allowing it!

                                          Eventually I stumbled upon the Firewall NAT Outbound rules, which was populated with 2 rules per VLAN (had been done automatically, presumably when setting up the VLANs).

                                          These rules did not exist for the PRINTERS VLAN. Added these rules manually and all sprung into life!

                                          43fb5a5f-11d8-437e-b9a7-dabcee21984d-image.png

                                          What I cannot understand is why these had not been created in the first place!! The outbound NAT mode was showing 'manual outbound NAT rule generation'.

                                          492154ac-6783-4375-9f47-bc2b5809d6c9-image.png

                                          Thought this would have been set to Auto??

                                          Never mind, all working now but at least I've picked up some extra knowledge. Thanks to everyone for helping me sort this out, it is greatly appreciated.

                                          Steve

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