Navigation

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

    Site2Site push route

    OpenVPN
    2
    3
    251
    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.
    • G
      geocast last edited by

      Hello everyone

      I'm trying to simplify a certain setup.

      I want the following

      ClientB –> SiteB(192.168.2.0/24)(VPN Client)  <--> SiteA(192.168.1.0/24)(VPN Server) <--> SiteC(192.168.3.0/24)(VPN Client)

      I would like to add the option 'push "route 192.168.3.0 255.255.255.0"' on the server in SiteA, so that SiteB will add it to its routing table, so that in the end ClientB can access SiteC.

      Trouble is. SiteB doesn't seem to accept the push option. Can't find a route set there, after I've implemented it.

      I know the usual way is to add the IP subnet of SiteC in SiteB's "IPv4 Remote Network(s)" in the Client. But as I'm building up a meshed network with around 18 Sites, this would simplify the job immensely.

      So is it possilble to push out a route in a Site2Site config?

      Thanks

      1 Reply Last reply Reply Quote 0
      • M
        marvosa last edited by

        Need a bit more info.  What kind of setup are you running?  For 18 sites you should be using a Multi-site PKI/SSL setup.

        Without looking at your configs, I can only guess that you have one of these scenarios in play that is affecting your ability to push routes:

        https://doc.pfsense.org/index.php/Why_won%27t_OpenVPN_push_routes

        1 Reply Last reply Reply Quote 0
        • G
          geocast last edited by

          Thanks for the clarification. Didn't see that you need a PKI setup. I'll look into it. Currently it's a shared key environment

          1 Reply Last reply Reply Quote 0
          • First post
            Last post