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

    Gateway of last resort- HOWTO??

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 3 Posters 2.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.
    • S
      sunusiringim
      last edited by

      Hi
      am sorry if this questions seems too…., but i want to set a gateway of last resort on my pfsense router, and the /0 netmask seems to be missing in the add static route tab. pls help.
      thank you

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        set 0.0.0.0/1 and 128.0.0.0/1

        @http://openvpn.net/index.php/documentation/manuals/openvpn-20x-manpage.html:

        …........to override the default gateway by using 0.0.0.0/1 and 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of overriding but not wiping out the original default gateway.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

          That's what the system's default gateway is for. That's whatever is assigned as the gateway of your WAN interface.

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