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

    Wrong route for gateway break pfSense

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 2.1k 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.
    • A
      Andre72
      last edited by

      Hi,

      I entered a wrong netmask to the route of my default gateway (GW_WAN ) and now pfSense can't be reached over IP anymore.
      I'd never take care about the backend of pfSense - can I edit there using the console and delete the settings I did to make it work again?
      Where can I find config data for pfSense Gateway route?

      Hope you can help me to solve the problem …

      Thanks

      Andre

      1 Reply Last reply Reply Quote 0
      • K
        Klaws
        last edited by

        You can change the basic network parameters via the console. If you run pfSense on standard hardware, simply attach a monitor and a keyboard. You'll see a menu where everything will be obvious.

        Headless heardware (like the WRAP) often has a serial console, which can be used as well.

        1 Reply Last reply Reply Quote 0
        • A
          Andre72
          last edited by

          Yes Klaws this is for sure an option to use the console by keyboard and monitor.
          But what to do there?
          Just change the IP settings and the wrong route won't work anymore may work.

          But also a nice solution would editing the wrong settings there - is this possible and how to do?

          1 Reply Last reply Reply Quote 0
          • A
            Andre72
            last edited by

            Are automatic updates are done also with v2?

            I read this and seems to could solve my problem:
            http://forum.pfsense.org/index.php/topic,25961.0.html

            Does somebody has experience with?

            1 Reply Last reply Reply Quote 0
            • K
              Klaws
              last edited by

              @Andre72:

              Yes Klaws this is for sure an option to use the console by keyboard and monitor.
              But what to do there?
              Just change the IP settings and the wrong route won't work anymore may work.

              On the console, start the shell (that's option 8, I think).

              In the shell, enter the command

              vi /conf/config.xml
              

              Correct the gateway in the config. Reboot pfSense.

              I assume you know how to edit using vi…right?

              Edit: if not: http://www.washington.edu/computing/unix/vi.html

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

                You can just copy the last good config from /cf/conf/backups/ to /cf/conf/config.xml and reboot.

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