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

    How to change WAN IP & Gateway in one step remotely

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 3 Posters 1.3k 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
      stompro
      last edited by

      Hello, can someone tell me what the correct procedure is to change a static WAN IP address and gateway remotely in one step?

      I keep running into the fact that you can only change the Gateway after the WAN IP address is changed, since the Gateway gui checks to make sure that the gateway is in the WAN network.

      If I apply the IP change then I cannot reconnect since the gateway is wrong.

      Thanks
      Josh

      Hardware used: Alix 2D13 X 10, APU2D4 X 10, SG-2200 X 10, SG-2440 X 4

      1 Reply Last reply Reply Quote 0
      • E
        echoranger
        last edited by

        Could you not simply edit the config.xml and replace these two values, then reboot the box?

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

          Use the "add a new one" link on the WAN page under the IP address box. Make a new gateway (new name) and it will let you add it there.

          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.