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

    Add/remove route on tunnel up/down

    Scheduled Pinned Locked Moved IPsec
    4 Posts 2 Posters 949 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.
    • H Offline
      Hugh
      last edited by

      Hi,

      is it possible to get pfSense to add/remove a route when a tunnel goes up/down?

      Thanks,

      Hugh

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

        no, as there are no routes with IPsec (assuming tunnel mode). Transport mode plus a tunnel plus a routing protocol would be the answer there.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Hugh
          last edited by

          I was hoping I could use BIRD and get it to advertise the relevant VPN route into the network when the tunnel came up.  I haven't worked out whether that is possible or not yet.

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

            You could hack in BIRD if you wanted, but Quagga is already in packages for OSPF and would be a better option since it's integrated. That's an option with IPsec transport mode and GRE or gif, or OpenVPN.

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