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

    Changing router IP - advice requested please

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 912 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
      steviewunda
      last edited by

      I want to change my home network IP address scheme, mainly for VPN access reasons. When I change the pfsense router IP address, will I need to change all firewall/NAT/port-forward rules and settings, or will auto-generated rules auto-update to reflect the change? All my devices (except phones) have had static IP's, and I have changed them all to DHCP, with the pfsense router allocating the new (reserved) IP addresses. I plan to power down all devices before I change the router address, so they should pick up the new address when booted. Any other gotcha's?

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

        @steviewunda said in Changing router IP - advice requested please:

        will I need to change all firewall/NAT/port-forward rules and settings

        Well if you had say port X forwarded to 192.168.1.100, and now your network lan network is say 192.168.2/24 you would need to alter the forward to whatever 192.168.1.100 new IP is - say 192.168.2.100

        If you had any hard coded firewall rules where you called out any specific IPs/networks be it source or destination those would have to be edited.

        But the lan address, and lan network built in aliases would auto update to reflect your new lan ip and network.

        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

        S 1 Reply Last reply Reply Quote 0
        • S
          steviewunda @johnpoz
          last edited by

          @johnpoz Thanks for confirming ;-)

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

            NP - let us know how it turns out after your all done.

            Yeah the default 192.168.0 or .1 /24 networks that are so common can be problematic at times. I run 192.168.9/24 for my lan, and other 192.168.X networks for my other vlans. Saying away from the common 192.168.0 and .1

            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

            JKnottJ 1 Reply Last reply Reply Quote 0
            • JKnottJ
              JKnott @johnpoz
              last edited by

              @johnpoz

              Yep. address collisions are a "feature" of NAT. That's why I moved my network to 172.16.0.0 many years ago. In my work, I have only seen one other network there. All the more reason we should have moved to IPv6 years ago.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

              S 1 Reply Last reply Reply Quote 0
              • S
                steviewunda @JKnott
                last edited by

                Everything went well, except that SMB connections to my Unraid server are broken. I can ping it and access the web gui, but I can't see it in Windows Explorer. I remember this taking a bit of troubleshooting when I first set up the Unraid server, and it looks like the same scenario...thanks for your help guys ;-)

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

                  @steviewunda said in Changing router IP - advice requested please:

                  but I can't see it in Windows Explorer.

                  you can not access it by name or IP

                  \\ipaddress or \\nas.domain.tld
                  

                  Most likely whatever your using for discovery could take a bit of time to refresh? But pfsense would have nothing to do with client on network X talking to another client/server on network X.

                  Do you have a firewall running on the unraid box that might need to be updated to allow your new network access to smb?

                  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
                  • J
                    junpio
                    last edited by

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