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

    Can't access pfsense web GUI from VLANs [Solved]

    Scheduled Pinned Locked Moved General pfSense Questions
    58 Posts 3 Posters 18.6k 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.
    • P
      PFbest
      last edited by

      Another finding:
      On the pc on port 7
      If I do telnet 192.168.0.1 80 or telnet 192.168.3.1 80
      as you see in p1, it seems I can get reply.
      If I do telnet 192.168.100.1 80, it will fail, of course 192.168.100.1 does not exist on my network.

      p1.png
      p1.png_thumb
      p2.png
      p2.png_thumb

      1 Reply Last reply Reply Quote 0
      • P
        PFbest
        last edited by

        More finding
        If I set rules in firewall for GUEST_AP_VL like this.

        reject GUEST_AP_VL net to any destination any port.

        I try to open 192.168.0.1 and 192.168.3.1 in PC on port 7, the browser returns ERR_CONNECTION_REFUSED, which is right.

        Any ideas?  ??? ??? ???

        1 Reply Last reply Reply Quote 0
        • P
          PFbest
          last edited by

          Interesting, I think I've found problem.
          I changed the MTU for vlan 12 to 1492. (My adsl MTU is 1492, but I don't understand why vlan MTU is related to gateway/ADSL MTU) (By default MTU it set to 1500)
          But it works now. As long as I change the MTU to 1492, pc on part 7 can go to 192.168.0.1, 192.168.3.1, 192.168.2.1, eben with https on for pfsense web gui, it works.
          Would you mind to confirm your MTU on vlans and your gateway for me and other on this forum please? So other won't get stuck like me  ;D
          Now I can move on on other rules etc. :P

          Your effort, help and time is appreciated!!

          Thank you johnpoz!!!

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            I bet this has something to with the USB nics you're using, there's a reason why pros avoid them at all costs.

            1 Reply Last reply Reply Quote 0
            • P
              PFbest
              last edited by

              @kpa:

              I bet this has something to with the USB nics you're using, there's a reason why pros avoid them at all costs.

              You mean the MTU issue is caused by USB NIC?
              Well, pros would have proper server, rack, UPS etc. don't they  8)
              I'm still study though, but I would go PRO stuff if I have the money to buy and can afford bills etc. for sure  :D
              That's the dream of every or at least most of the tech savvies isn't it  ;)

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

                My mtu is 1500.. on all devices.

                There clearly was something going on in your trace.. Its like you just lost connection packets, possible it could of been large packet that got fragged..

                USB interfaces are utter crap, why would you use them, you can pick up normal nics for like $10 that would be better than some usb nic.

                Glad you got it sorted, for sure it was strange.  But you can see in your sniff that your client is talking, you have a good handshake but when then its like something was missing.. And that packet you did get was not the next one..

                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
                • P
                  PFbest
                  last edited by

                  @johnpoz:

                  My mtu is 1500.. on all devices.

                  There clearly was something going on in your trace.. Its like you just lost connection packets, possible it could of been large packet that got fragged..

                  USB interfaces are utter crap, why would you use them, you can pick up normal nics for like $10 that would be better than some usb nic.

                  Glad you got it sorted, for sure it was strange.  But you can see in your sniff that your client is talking, you have a good handshake but when then its like something was missing.. And that packet you did get was not the next one..

                  Cool, so there must be something wrong with my stuff.
                  Oh, did I mention the server/host of pfsense virtual machine resides in is a laptop?  ;D
                  It's a retired laptop, and yes again, it's been like this for 2 years.
                  Otherwise I'd go with proper NIC for absolutely sure
                  I know you will be like this  :o haha

                  (BTW, all of my other devices are all running with 1500 MTU as well, but ADLS is PPPoE so been forced to MTU 1492 for adsl gateway)

                  Thanks anyway  ;D

                  1 Reply Last reply Reply Quote 0
                  • P
                    PFbest
                    last edited by

                    @johnpoz:

                    My mtu is 1500.. on all devices.

                    There clearly was something going on in your trace.. Its like you just lost connection packets, possible it could of been large packet that got fragged..

                    USB interfaces are utter crap, why would you use them, you can pick up normal nics for like $10 that would be better than some usb nic.

                    Glad you got it sorted, for sure it was strange.  But you can see in your sniff that your client is talking, you have a good handshake but when then its like something was missing.. And that packet you did get was not the next one..

                    Well, heaps of trial and error + some luck, finally it's working now  :P

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

                      Why don't you just run vlans on your physical nic vs damn usb nics?

                      You can get a 8 port gig switch that does vlans for like $30…

                      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
                      • P
                        PFbest
                        last edited by

                        @johnpoz:

                        Why don't you just run vlans on your physical nic vs damn usb nics?

                        You can get a 8 port gig switch that does vlans for like $30…

                        The physical nic is been used for DNS/email/file sharing stuff from windows server haha ;D
                        Oh, the switch has 24 ports (gig), I bought it when it was on discount  ;D, currently ports are enough I think

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

                          does it do vlans??  If so then you don't need usb nics to run pfsense on your laptop.  Just vlan the traffic into the one physical nic.

                          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
                          • P
                            PFbest
                            last edited by

                            @johnpoz:

                            does it do vlans??  If so then you don't need usb nics to run pfsense on your laptop.  Just vlan the traffic into the one physical nic.

                            What? Sorry probably I don't get it.
                            But I think the answer is yes? I've attached the screen of the configuration GUI for the switch.
                            You mean port based? If so, actually I was running on port based vlan from switch.
                            But now I have an AP which can do vlan and only via vlan tags I guess, but with only 1 NIC port. That's why I'm switching from port based vlan to tag based vlan.
                            Port based vlan, is that what you mean?  ;)

                            switch.png
                            switch.png_thumb

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

                              No I mean tagged based..  Just run your wan and lan and whatever other networks you want on vlans.  Connect this to your laptop physical nic.  Throw away the crap usb nics.

                              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
                              • P
                                PFbest
                                last edited by

                                @johnpoz:

                                No I mean tagged based..  Just run your wan and lan and whatever other networks you want on vlans.  Connect this to your laptop physical nic.  Throw away the crap usb nics.

                                Oh, you mean with the switch + tag based vlan, I can go -> 1 laptop + 1 nic to deal both with WAN and LAN traffic, great idea, genius!
                                I might try this one later I guess.
                                I didn't realize I can do this when I was trying to use vlan for AP  ;D you are pro man!

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

                                  Only possible issue comes down to bandwidth.  Since your going to be hairpinning your connection from lan to wan..

                                  So if gig most you could ever see between lan and wan would be 500 mbps, Vlans on an interface share the total physical bandwidth of that interface..

                                  Performance wise prob still better off than usb crap.  That would sure make for a cleaner looking setup running on some laptop with dual usb nics handing off of it, 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
                                  • P
                                    PFbest
                                    last edited by

                                    @johnpoz:

                                    Only possible issue comes down to bandwidth.  Since your going to be hairpinning your connection from lan to wan..

                                    So if gig most you could ever see between lan and wan would be 500 mbps, Vlans on an interface share the total physical bandwidth of that interface..

                                    Performance wise prob still better off than usb crap.  That would sure make for a cleaner looking setup running on some laptop with dual usb nics handing off of it, etc.

                                    Yep, actually you know why I switch to USB NIC at beginning?

                                    When I was using physical NIC, if I go to pingtest.net, ping is fine, but I get results as -100%, because of the NIC will double ping or something like that. Unless I set the NIC for VM use only. Interesting isn't it.
                                    Yep, probably I will leave as it is then, untill I can afford a proper rack server  ;D

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

                                      Huh??  Not a clue to what your talking about..

                                      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
                                      • P
                                        PFbest
                                        last edited by

                                        @johnpoz:

                                        Huh??  Not a clue to what your talking about..

                                        Never mind, I guess I misunderstood your last post  ::) ::) ::)

                                        I mean, When I enable one same NIC both for physical machine and in virtual machine (Where pfsense sit on, as a gateway).
                                        Then I go to pingtest.net, the result for ping section will be minus 100% (Normally should be 100% if there's no ping problem), and that is because the ping is been sent or responded twice  :)

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          PFbest
                                          last edited by

                                          Tell you one more crazy thing.
                                          Those USB3 NICs are connected to a express card which plugged in laptop
                                          ::) ::) haha
                                          Even more broke, I guess that's what you going to say.  :P :D

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

                                            sure seems like it..  If you want to play get some hardware to play with.  Doesn't have to be anything fancy for sure.  But come on card in some old laptop with usb nics hanging off that, running vm software talk about a hodge podge jury rigged setup.

                                            An old small pc with a couple of nics in it would be fine - can surely be had for a few bucks off ebay or something if budget is a concern.

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.