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

    Iroute in OpenVPN Site 2 Site with pre shared keys

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 525 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
      hsv
      last edited by hsv

      Hi
      I have tried to add iroutes in the server site configuration under Custom options
      But the iroutes do not appear under routing and if I trace traffic these subnet do not goes through the tunnel.
      How to add iroutes?

      the IPv4 Tunnel Network is a /24 network

      push "iroute 10.45.128.144 255.255.255.240";
      push "iroute 10.45.128.192 255.255.255.192";
      push "iroute 10.45.127.176 255.255.255.240"

      Regards
      Henning

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

        Hi
        I found out that I have to place the extra subnets in the remoted network field, comma separathed and then there are added to the route table.

        Regards
        Henning

        1 Reply Last reply Reply Quote 0
        • PippinP
          Pippin
          last edited by

          Hi,

          iroute is internal to OpenVPN, they don't show up in routing table.

          OpenVPN Flow

          I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
          Halton Arp

          H 1 Reply Last reply Reply Quote 0
          • H
            hsv @Pippin
            last edited by

            @Pippin Hi Pippin
            Ok but the route did work even when I push them in, but when I added them to the remoted network on the server side. It start working.

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