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

    Can't access webgui after pfSense VM cloning and WAN IP change.

    Scheduled Pinned Locked Moved webGUI
    6 Posts 3 Posters 750 Views 3 Watching
    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.
    • M Offline
      Matlock
      last edited by

      Re: Can't access to webgui after clone VM and change WAN IP

      We have a pfsense 2.7.x Hyper-V VM with just one interface WAN working fine as a OpenVPN Server.

      We cloned that VM, changed it's IP through the console and now we don't have access to Webgui. The only way to gain access is when we issue the command pfctl -d from the CLI to disable firewall.

      After that, when we change any setting, the firewall is automatically enabled and have again no access.

      We took a look at Firewall's rules and see nothing obvious.

      Please help to resolve this.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @Matlock
        last edited by

        @Matlock Access to the GUI from WAN is blocked by default. From where are you connecting and can you show the rules for that interface?

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          Matlock @SteveITS
          last edited by

          @SteveITS Hi,

          Let me clarify. This is a 1 NIC Setup which pfsense calls it WAN while in fact it is a LAN interface with local ip address of 192.168.0.241. This setup is normaly accessible from webhui without any issue.

          For very specific reasons, we needed a clone of this VM to work in parallel with the existing one. So we made a clone and changed it's IP from the console before connecting it to the Hyper-V network, in order to avoid duplicate IPs on the network.

          After doing that, we have the webgui no access issue described on the original post.

          Hope this clarifies things. Any suggestions?

          M S 2 Replies Last reply Reply Quote 0
          • M Offline
            Matlock @Matlock
            last edited by

            Anyone?

            patient0P 1 Reply Last reply Reply Quote 0
            • patient0P Offline
              patient0 @Matlock
              last edited by

              @Matlock since nobody jumps onto the stage. I have neither had a one NIC setup nor Hyper-V experience :)

              Did you change the IP using the console menu? If yes, I'm not sure what gets triggered by that.

              You could try to change the IP directly in the config file in the shell by using viconfig and search for <interfaces> and change <ipaddr> and reboot. That way you can be sure that only the IP is changed and nothing else is triggered.

              (below an example config from one of my VMs):

              ...
                      <interfaces>
                              <wan>
                                      <enable></enable>    
                                      <if>vtnet0</if>
                                      <descr><![CDATA[WAN]]></descr>
                                      <alias-address></alias-address>
                                      <alias-subnet>32</alias-subnet>
                                      <spoofmac></spoofmac>
                                      <ipaddr>10.101.102.27</ipaddr>
                                      <subnet>24</subnet>
                                      <gateway>WANGW</gateway>
                                      <ipaddrv6>fdaa:b2b4:d8b2:1000::27</ipaddrv6>
                                      <subnetv6>64</subnetv6>
                                      <gatewayv6>WANGW6</gatewayv6>
                              </wan>
              ...
              
              1 Reply Last reply Reply Quote 0
              • S Offline
                SteveITS Rebel Alliance @Matlock
                last edited by

                @Matlock How are multiple interfaces set up on the one NIC?

                Can you post the rules for the interface you're using to access the web GUI?

                Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                Upvote ๐Ÿ‘ helpful posts!

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