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

    Trying to connect to Network Share fails - tap works/tun fails

    Scheduled Pinned Locked Moved OpenVPN
    1 Posts 1 Posters 1.1k 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.
    • G
      Gio
      last edited by

      Hi guys

      I am new to OpenVPN and pfSense, I am trying to use OpenVPN to access my home file server where I store important documents on a RAID array. Trying to accomplish this via OpenVPN. I am able to successfully connect to VPN using either TUN or TAP and I am able to ping my pfSense LAN interface (192.168.1.50)

      My home network is 192.168.1.0/24 - Router 192.168.1.1
      Workstation IP is 192.168.1.127
      Server IP is 192.168.1.135

      While connected as TUN - I can ping 192.168.1.50 but I cannot ping workstation (192.168.1.127). I changed settings to TAP and ping and remote browse works. My Windows workstation is set to map //gserver (dns name for the file server) – however my PC seems to be using the ISP's DNS server as 1st preference instead of using OpenVPN DNS settings.

      Any help?

      1. How can I get my VPN tunnel to resolve DNS using my remote router at home? (where ARP should record NETBIOS names also)
      2. What am I doing wrong that I cannot browse my "Windows Network" and see my neighbors? can I do this with TUN or only with TAP?
      3. Why can't I ping my workstation 192.168.1.127 using TUN?

      Thanks!!

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