Problem with web GUI after switching the network interfaces.



  • Hey,
    I have a problem I wanted to test some features of pfSense in my small network environment. I have created a new machine for pfSense and then I set it up. My problem is that I have only one IP address which allows getting stuff from the internet (like packages etc). Normally for this IP (let say 181.30.255.30) I have a machine that has to work every time. So after I pre-installed everything I wanted to change the IP by using option 2 (set interface(s) IP address). When I changed the to let say 181.30.160.54 I can't connect to the web services anymore.

    I have tried to create this machine on this IP from scratch again and was working but as I mentioned this ip has no permission to connect to the internet and I am not able to give this permission. And when I changed to any other IP I always have the same issue.
    My version of pfsense is 2.4.4-RELEASE-p3

    Does anyone know how to solve that problem with webservice it looks like the IP that is configured during the installation is saved somewhere in the web engine, but I am not professional so don't even know where to look for that. (I also tried to restart WebConfigurator)


  • Netgate Administrator

    How are you accessing it? Via an internal interface? Using the console directly?

    You should be able to set a different IP there and it should not affect access to the webgui as long as there is no conflict between the new IP and any other subnet. And you are changing the IP on the correct interface.

    Steve



  • Hey,
    yes I changed IP to the correct interface, I have only one of that (em0), and by the ping command is pingable so that means ip has been switched. Only problem that I see is with web interface.


  • Netgate Administrator

    Ah you only have one interface assigned in pfSense?

    Then I would try restarting php (menu option 16) then restarting the gui (menu option 11) after making that change. Or just rebooting.

    Steve



  • Those actions didn't help at all


  • Netgate Administrator

    Are the IP addresses you are using both public IPs?

    What address are you testing from? Something in the same subnet?

    Can you connect out from the console from the new address? Ping, say, both 8.8.8.8 and google.com?

    Steve