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

    OpenVPN with multiple subnet

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 1.4k 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.
    • O Offline
      orsomannaro
      last edited by

      I'm new with VPN and I'm working with the configuration show in attachment.

      • VPN status is UP
      • firewall allow all OpenVPN tunnel traffic
      • I create gateway and route for the subnets

      … but I cannot see remote subnets

      What I'm missing?

      TIA
      openvpn-pto-pto.png
      openvpn-pto-pto.png_thumb

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

        are you using NAT on the netgear devices ?
        then you might be missing routes for:
        192.168.2.0/24
        192.168.3.0/24
        192.168.4.0/24
        192.168.5.0/24

        1 Reply Last reply Reply Quote 0
        • DerelictD Offline
          Derelict LAYER 8 Netgate
          last edited by

          Yeah, makes a huge difference whether those routers are performing NAT or not.

          If they are not, which side is the site-to-site server? It should be as easy as adding the proper /23 to local and remote networks on the server and making sure your OpenVPN firewall rules allow the traffic into each side.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • O Offline
            orsomannaro
            last edited by

            I tried different things, including static routes, but without success (the problem may be related to the way the WAN interface of the Netgear Internet routers works..?).

            I solved by purchasing two switch layer 3 and configuring vlan.

            Anyway, thank for your answers.

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