No access to LAN from OpenVPN client



  • 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?



  • 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.



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


Log in to reply