Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    OpenVPN - Problem

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 465 Views 2 Watching
    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.
    • L
      lucas.stefenon
      last edited by

      Good afternoon,

      What range of ip should I put for my clients to receive when they connect in OpenVpn to connect to a VPN that I have configured Site to Site?

      Example:

      VPN Site-to-Site LAN / Vendor

      LAN 192.168.10.0/24

      OPEN VPN 172.20.10.0/24

      How do I get network 172.20.10.0/24 to have VPN site-to-site LAN / Provider?

      Just set up another tunnel on both sides?

      Thank you.

      1 Reply Last reply
      Reply Quote 0
      • E
        edooze
        last edited by

        If I'm reading correctly, it sounds like your subnets aren't routing between each other?

        Set the local and remote networks correctly in the OpenVPN config
        Add custom rule to OpenVPN as follows:

        push "route 192.168.10.0 255.255.255.0";

        Make sure that firewall rules are set up - bearing in mind they only affect traffic coming in to the interface, and so can only deny traffic going out on that interface (not altogether).

        HTH.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy