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

    OpenVPN Client Access External LAN

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 2 Posters 369 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.
    • J
      jaullo
      last edited by

      Hi all
      I'm new to pfsense and i would like to configure a VPN Server for my user can access lan

      PFSENSE LAN: 172.31.54.X
      WAN: 200.91.X.X.
      VPN LAN: 172.31.254.X
      FIREWALL OPENVPN = ALLOW ALL RULE (for testing)
      FIREWALL LAN = ALLOW ALL RULE (for testing)
      FIREWALL WAN = ALLOW ALL RULE (for testing)
      VPN PUSH ROUTE = 172.31.54.X

      Y have create my vpn server, CA and user certificates. Also, i have exported user certificates configuration and loaded it inside viscosity. Everything appears to work, i can connect to my vpn, get a DHCP Address and i can ping resources in my Pfsense LAN 172.31.54.X

      But, here is the problem, i need my users can access another corporate LAN's that are no part of my PFSENSE FIREWALL

      For example
      Inside my company i have a network 10.159.14.X

      How can i setup pfsense to allow my vpn clients to access remote networks (network not inside pfsense)

      Thanks

      1 Reply Last reply Reply Quote 0
      • RicoR
        Rico LAYER 8 Rebel Alliance
        last edited by

        https://docs.netgate.com/pfsense/en/latest/book/routing/static-routes.html
        And of course you need to push that 10.159.14.X network to the OpenVPN clients.

        -Rico

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

          Hi, thanks for answering.
          I will try that and let you know

          Have a nice day

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

            Hi Rico,

            Tried anything without look.

            Within openvpn i can access my lan resources (connected to pfsense gateway) but i was not able to access resources inside a remote LAN (LAN part of another department not under my administration), and they are not blocking me.

            I pushed the route and i can see it inside my routing table, but there is no ping o DNS response

            Any other idea?

            Thanks

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