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

    Allow traffic between subnets OpenVPN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 822 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
      wtf1337
      last edited by

      I want to be able to allow traffic between these subnets.
      But i think there is something i have to do for the routing to work.(other than adding firewall roules?)
      Manual Outbound NAT rule generation

      Album:
      http://imgur.com/a/4ZVfH

      As you can se, the "Testlan" interface is beeing routed via the VPN gateway,

      Summary:
      I want be able to reach the machines in the 192.168.0.1/24 from the 192.168.1.1/24 subnet, while the clients in the "Testlan" interface is beeing routed via the VPN.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis
        last edited by

        Not sure about the exact config here. But in any case, you need to add ordinary pass rules to pass the traffic that is NOT to be "policy-routed" out a gateway to the internet. Those rules go above the policy-routing rules you already have:
        On LAN, Pass source LANnet destination TESTLANnet
        On TESTLAN, Pass source TESTLANnet destination LANnet

        As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
        If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

        1 Reply Last reply Reply Quote 0
        • W
          wtf1337
          last edited by

          Thanks:!
          I did the same thing before, just that i haven't moved the roules to the top!

          Regards.

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