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

    is there any way to change the order of WAN and LAN in the interface menu?

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 755 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.
    • Z
      zippydan
      last edited by

      It's a small thing, but since my servers usually have one LAN and multiple WANs, I prefer to have my LAN listed first and then all the WANs following.

      However, it seems that pfsense defaults to putting the first WAN first, and then the LAN second, which results in a list like this, for me:

      WAN1
      LAN
      WAN2
      WAN3

      I would prefer:

      LAN
      WAN1
      WAN2
      WAN3

      Now, I thought this could be as simple as swapping the interface assignments, names (description), and the IPs, but then when I go into the pfsense console to set the IPs, I notice that the console specifically expects the second interface to be the LAN, and the first interface to be the WAN. Does this matter?

      I also noticed that it is possible to delete all interfaces except the first interface, which again tells me that pfsense is somehow hardcoded to expect the first and second interfaces to be WAN and LAN, respectively.

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

        Just set them to sort alphabetically

        sort.jpg

        Mine look like this

        alpha.jpg

        Or do you mean on the assignment page?

        assignment.jpg

        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
        • Z
          zippydan
          last edited by

          I guess that setting them to sort alphabetically accomplishes what I want.

          But while we are on the topic, why is WAN set to first on the "Assignment" page? And is it possible to change that?

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

            Pretty sure because its the first interface setup.. As to changing that order, not sure.

            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
            • GertjanG
              Gertjan
              last edited by

              Diagnostics > Backup & Restore and backup the Interfaces selection.

              e34ac8d8-4b5f-4497-9545-9814aaf88f09-image.png

              Use your favorite xml editir (notepad++ will do just fine) and swap and order as you like.
              Save the file.

              Select "Interfaces" only, and import.

              To be sure : reboot - but I guess it isn't needed.

              Result :

              dffd6e70-4828-4cdb-8092-89ff1dd420c3-image.png

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

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