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

    Open VPN and routing

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 1.7k 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.
    • R
      rajbps
      last edited by

      Hiya,

      I have a site to site link both ends pfsense 2.0.

      Site A server pushes a specific vlan (vlan23) out to site B client.

      There is a server on site A on the vlan 23.

      Users can see the server on site B

      When  remote users connect to site B via roadworrior, they cant get to that server .

      I have pushed the routes but still nothing.

      Could anyone help on this pls.

      Cheers,

      Raj

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

        be sure to add the routes for that subnet in your roadwarriors config (or push em from roadwarrior server on site B)

        also, you need to add the routes for your roadwarrior-subnet on site A, otherwise Site-A will not know where to return traffic to

        hope this makes sense and helps :)

        1 Reply Last reply Reply Quote 0
        • R
          rajbps
          last edited by

          Ok How to add the routes on site A I believe is my problem.

          Cheers,

          raj

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            Hi,

            To push a route from an OpenVPN Server to a Client you use:

            push "route network subnetmask";
            

            To add a route on an OpenVPN Server or Client manually you use:

            route network subnetmask;
            
            1 Reply Last reply Reply Quote 0
            • R
              rajbps
              last edited by

              what about the gateway .

              so here is the network

              Site A                              Tunnel                                        site B

              Lan                                                                              lan 192.168.20.0/24

              192.168.0.0/24
                                                ON SERVER SITE                                 
                                                  10.0.20.0/24
                                                    server ip is 10.0.20.1                      client ip 10.0.20.2

              Vlan 23                                                                              roadworrior

              192.168.23.0/24                                                                          10.0.23.0/24
                                                                                                      push route here is 192.168.23.0/24

              How to add the route on A for 10.0.23.0 which is the network for B roarworrior.

              Also do you add it from

              System => Routing => 10.0.23.0/23

              Gateway is the wan nic.

              Cheers,

              Raj

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