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

    Changing physical ports in config

    Scheduled Pinned Locked Moved General pfSense Questions
    configureinterfaceschange
    6 Posts 4 Posters 1.1k 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.
    • V
      valepe69
      last edited by

      Hi, I have a running router with 6 ethernet ports but for installation issues I should move the three ports used by pfSense (WAN1, WAN2 and LAN) in a different order.
      LAN port is trunked because it has many VLANs.
      My idea is:

      • make a backup
      • edit the internal config replacing all references of ports (em0, em1, ...) with internal editor of pfSense
      • reboot

      Should it work?

      My doubt if openvn clients and wireguard servers save the physical interface into their encrypted configurations

      bingo600B 1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600 @valepe69
        last edited by bingo600

        @valepe69
        I have done that (renaming) on my backup firewall.

        Prod has IGB interfaces , backup has EM interfaces.

        No issues , well i had one (a mistyping in the editor ... my fault)

        Ohh... I didn't do it on the pfSense box.

        I downloaded a backup of the config file , made a copy.
        And changed the interface names in the copy, then just restored that new config file.

        /Bingo

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        V 1 Reply Last reply Reply Quote 0
        • V
          valepe69 @bingo600
          last edited by

          @bingo600 My doubt using the GUI restore backup is if it reloads all (packages and so on) or if it updates network changes only.

          bingo600B J 2 Replies Last reply Reply Quote 0
          • bingo600B
            bingo600 @valepe69
            last edited by

            @valepe69
            I would expect that a restore would load the packages again.
            But what would be the issue doing that ?

            I have not experienced much issues with package reloads.
            Just a quirk with the latest Zabbix package, that had to "be installed" manually once more, after the package reload. And i even think that the latest Zabbix (I use Zabbix 5.0) package didn't have that issue.

            IMHO
            You shouldn't be afraid of a "config restore", else you would have no "disk error" recovery path.
            And the new 2.6.0 ought to be installed from scratch using the ZFS filesystem, not upgraded from a previous version, as it has some filesystem layout changes.

            /Bingo

            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

            1 Reply Last reply Reply Quote 0
            • J
              Jarhead @valepe69
              last edited by

              @valepe69 said in Changing physical ports in config:

              @bingo600 My doubt using the GUI restore backup is if it reloads all (packages and so on) or if it updates network changes only.

              As long as you have the WAN connected it will reload all.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Indeed, when you restore a config it will reinstall any packages referenced in it. But that shouldn't be a problem as long as you have a valid WAN connection.

                Steve

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