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

    Open VPN road warrior No LAN Access

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 2 Posters 3.4k 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.
    • S
      suicidegybe
      last edited by

      I followed this guide http://blog.stefcho.eu/?p=492  to a T and I am unable to access my LAN from outside my network. I don't know what to do any help would be awesome. all I want to do is open up network resources when I am outside of the house.

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        The "Local Network" is the network behind your pfsense where you would like to have access to. This network does not have the same subnet as the "tunnel network" and not the same as the network your OpenVPN client lies on.

        Did you configure the correct firewall rules on pfsense for your OpenVPN connections ?
        Can you ping any host on the network ?
        Did you disable the firewall on the destination host to make sure it will not be blocked bei the windows builtin firewall ?
        Can you connect to the pfsense web GUI using your VPN ?

        1 Reply Last reply Reply Quote 0
        • S
          suicidegybe
          last edited by

          Yes PF sense automaticly made firewall rules.
          It seems I can access the computers on my network by IP.
          What I want to do is when I connect to the VPN is there any way to have it so when I open windows explorer and click network it shows all the devices on my LAN likeit does when I'm at home.

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            @suicidegybe:

            (…)
            What I want to do is when I connect to the VPN is there any way to have it so when I open windows explorer and click network it shows all the devices on my LAN likeit does when I'm at home.

            You need to run OpenVPN in bridge mode (tap) and not in routing mode (tun).

            1 Reply Last reply Reply Quote 0
            • S
              suicidegybe
              last edited by

              How do I change my setup from a Tun to a Tap. I tried simply going in and changing the setting under OpenVPN in the PF Sense web GUI but then my connection never finishes and If I change it back to tunnle it works fine. The thing is I dont want or even know what Tun. can do for me but the Tap seems to be what I want. (To be able to access my network from school as if I was home.) Can you help?  Thank You.

              1 Reply Last reply Reply Quote 0
              • N
                Nachtfalke
                last edited by

                You can use TAP or TUN for doing this. Both can do the access to your home network.
                TAP is bridging mode and TUN is routing mode.

                But for your scenario it's probably best to use TUN mode.

                But I do not understand what and where your problem is. You say it is working - but it seems that something is not working as you like.
                Please try to explain more in detail what you want to realise and what is not working that we can help. :-)

                1 Reply Last reply Reply Quote 0
                • S
                  suicidegybe
                  last edited by

                  I would like it so when I log in from school that when I open windows explorer it shows all the devices and locations on my local network. i.e. I want to be able to click network and get the same list that I get when I am at my desk top. I think this is possible but not sure any how that is what I would like to have happen. Tomorrow I will be fully testing that the connection acctually work at school all day. Thanks.

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nachtfalke
                    last edited by

                    Not sure if you can access your computers at home through "network manager" when using OpenVPN in tun mode.
                    But you should enable "Enable NetBIOS over TCP/IP" with "h-node" on your OpenVPN server.

                    If you cannot connect to your computers through network manager just use the UNS path:

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