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

    OpenVPN route fail

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.8k 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.
    • D
      DaninND
      last edited by

      I've had OpenVPN site-to-site using pki (4 sites: 1 server, 3 clients, fully routed) running rock solid for over year. Last week I had a curious glitch…
      Traffic stopped being routed to the subnet of one "arm", but it would route through to other other VPN sites.
      It looks like the "push route [subnet and submask at site of server]" custom option stopped working at only one site.
      This error has also been logged a couple times:
      ERROR: FreeBSD route add command failed: shell command exited with error status: 1
      Not sure if it has anything to do with this. The rest of the logging looks like normal stuff.

      I did get the routing back up by putting in a static route to the subnet through the OpenVPN gateway.
      Any ideas as to what would cause this? Just curious and hoping it will continue to work…

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

        It must not have liked something about the route at the time. Best way to proceed would be to look at the routing table when it was working (in the original config) compared to when it was broken.

        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
        • D
          DaninND
          last edited by

          I think the old routing table is gone. If I figure it out I'll post back, if I remember.
          Thanks for reply.

          btw, excellent book.

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