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

    Openvpn and few subnets

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 1.2k 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.
    • M
      makbet
      last edited by

      Hi guys
      It's  a shame that my first post is to ask about help but i'm so desperate that i'm even happy to paypal you some beer money just to help me get it working.

      On the picture below you have my current setup ( except that i dont have LAN3 yet until i get my stuff working).
      So far i have lan1 and lan2 only; both of them have internet connection so that's a plus.
      I have setup openvpn server (vpn1 on the picture), fully working, tested from windows client and it does what it supposed to do. When i'm connected from my computer i see that my ip changes and all the traffic is routed via it.

      I have setup vpnclient on pfsense. It does connect and that's great but this is where the problems start:

      • when i have "redirect-gateway def1" then lan1 and lan2 will have no internet
      • without "redirect-gateway def1" both lans have internet but lan2 is not routing via VPN

      Because my pfsense is on my ESX host as well as my both networks, i gave pfsense 3 network card. one for wan, one for lan1 and one for lan2.
      Lan2's gateway is pointing at the VPN gateway but even if that, i get no luck.

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