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

    Edit Wan IP on console

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.7k 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.
    • C
      cattox
      last edited by

      Hi all,

      I'm trying to find a way to change the Wan IP on console (I need it to be static). I have pfsense running on a virtual machine and I cannot use a lan machine to access the web interface (I can only access this machine from the wan interface or console).
      I tryed to edit the config file directly (/cf/conf/config.xml) but after that I get the error:

      "cannot create references to/from string offsets nor overloaded objects in /etc/inc/xmlparse."

      can anyone give-me a hand? Is there a way to edit the wan IP from console?

      thanks in advance

      1 Reply Last reply Reply Quote 0
      • C
        cattox
        last edited by

        Solved.

        just malformed xml in config.xml.

        Sorry for the unnecessary post.

        :-[

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          On 2.0 you can use the "Set interface(s) IP address" console option, and since you can't get on LAN, you might also find this useful:

          Start a shell, and type in:

          pfSsh.php playback enableallowallwan
          

          Once you get in you can setup proper rules and lock it back down.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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