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

    No access to LAN from OpenVPN client

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 817 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.
    • P
      poldas
      last edited by

      Hi,

      I've read similar topic but I havn't found answer…

      I have problem with access to computers in LAN from OpenVPN client

      1. Public OpenVPN port is forwarded on router to private pfSense address - 192.168.1.250

      2. pfSene - VM on XenServer with only one NIC (LAN)

      • TUN mode
      • LAN interfacace 192.168.1.250/24
      • Tunnel network 192.168.34.0/24

      3. Windows 7 - OpenVPN client

      When VPN connection is established host has route to remote network

      network              gateway
      192.168.1.0/24  192.168.34.1

      I can ping WAN interface on pfSense - 192.168.1.250 but I can't any other host in direct LAN (129.168.1.0/24)

      Please let me know what is wrong :) Should I add rule on firewall or route?

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        I presume pfSense isn't the default gateway on your LAN hosts.

        So you either have to nat the OpenVPN traffic to LAN address or add routes to your LAN hosts for the vpn tunnel.

        1 Reply Last reply Reply Quote 0
        • P
          poldas
          last edited by

          It was route on host i LAN I added route to 192.168.34.0/24 and everything is ok. Thank you for answer.

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