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

    OpenVPN - Problem

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 2 Posters 357 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.
    • 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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.