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

    OpenVPN: with Redirect IPv4 Gateway no access to LAN

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 538 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.
    • W
      WhiteTiger-IT
      last edited by

      In
      VPN/OpenVPN/Servers/Edit/Servers/Tunnel Settings
      If I select the Redirect IPv4 Gateway check box, the IPv4 Local network (s) field is not displayed.
      By doing so I cannot specify which networks that will be accessible from the remote endpoint.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @WhiteTiger-IT
        last edited by

        @whitetiger-it
        Both options prompt the client to add routes pointing to the server.

        When you add subnets into "Pv4 Local network (s)" box, the client adds routes for the stated subnets.

        When you check "Redirect IPv4 Gateway" the client adds the default route, which means any IP address outside its subnet is routed to the server.
        So there is no need to add any additional route for specific remote subnets at all. You should be able to access the LAN network with this option anyway.

        1 Reply Last reply Reply Quote 0
        • J
          johnnyy
          last edited by

          I faced with similar issue recently

          1 Reply Last reply Reply Quote 0
          • W
            WhiteTiger-IT
            last edited by

            With the Wizard there are two fields.
            Instead, if the server is created, then if the checkbox is ON, the Tunnel Network field disappears.

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