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

    Custom Routing Options Conflict - OpenVPN stop run

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 550 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
      hita352
      last edited by hita352

      Hello,

      I have 4 tunnels VPN configured :
      10.24.0.0/16
      10.23.1.0/24
      10.25.0.0/16
      10.26.1.0/24

      I added Routing Custom Option for the 10.24.0.0/16 :
      push "route 10.23.1.0 255.255.255.0"
      push "route 10.25.1.0 255.255.255.0"
      push "route 10.26.1.0 255.255.255.0"

      It works well

      When I am adding new line -> push "route 10.25.2.0 255.255.255.0"
      This tunnel stop works like a conflict appears or something is wrong.
      I cannot understand what is the problem ?
      Maye conflict in my OpenVPN Rules between tunnel VPN ?

      Thanks you,

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by Rico

        10.25.2.0 255.255.255.0 (10.25.2.0/24) overlaps 10.25.0.0/16
        You don't need and should not push routes via the custom options in pfSense. Just use the boxes like IPv4 Local network(s).

        -Rico

        1 Reply Last reply Reply Quote 0
        • H
          hita352
          last edited by

          Why this rule work : push "route 10.25.1.0 255.255.255.0" but doesn't work adding 10.25.2.0 ? If it is overlapsing 10.25.0.0/16 ?

          I make this configuration because I want to force my client to use Tunnel VPN in cas of reaching this IP's :
          10.24.0.0/16
          10.23.1.0/24
          10.25.0.0/16
          10.26.1.0/24

          but all others IP connection will be routed by local network (Not passing bby my VPN).

          I don't see how I can configure it in another way.

          1 Reply Last reply Reply Quote 0
          • H
            hita352
            last edited by

            @Rico said in Custom Routing Options Conflict - OpenVPN stop run:

            push routes via the custom options in pfSense

            Do you have an idea ?

            THnaks you,

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

              Show the exact entries you have in custom options, the errors you receive in the OpenVPN log, and the resulting OpenVPN config file from /var/etc/openvpn. Without knowing the exact input or what OpenVPN is claiming the error is, nobody can say for sure what the problem may be.

              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.