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

    Having trouble accessing NAS through VPN server

    Scheduled Pinned Locked Moved OpenVPN
    25 Posts 5 Posters 447 Views 4 Watching
    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.
    • GertjanG Offline
      Gertjan @azdeltawye
      last edited by

      @azdeltawye said in Having trouble accessing NAS through VPN server:

      I thought PfSense automatically adds VLAN subnets

      Where did VLANs come from ?
      So you do have a 192.168.200.1/24 interface ? (LAN, or VLAN doesn't matter, as long as it is set up correctly).

      VLAN need a setup on the pfSense side, and on the smart 'VLAN capable side' switch side.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        azdeltawye @Gertjan
        last edited by

        @Gertjan said in Having trouble accessing NAS through VPN server:

        Where did VLANs come from ?

        huh??
        I configured them when I designed the network years ago... You can see the different interfaces of my network from the screenshot on post #16. Here is a summary of how the network segments are defined:

        8e26d849-2d6d-405f-9e9b-a3257f1a5682-image.png

        Yes, all the layer 2 switches and APs are capable of VLAN tagging...

        So when I log into my VPN server with my iPhone from a remote location, I am able to ping random devices on every VLAN listed above in my network. However, I cannot ping the Synology NAS (192.168.200.4). But, I am able to ping my backup 'NAS' (192.168.200.5). My backup 'NAS' is just an old Asus RT-AC86 router with a Samba SSD plugged into the USB port. I cannot access either NAS from the File Explorer app on my iphone.

        Now when I am at home and my iPhone is on the 200 VLAN network, I can ping and access both NAS devices with the File Explorer app.

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG Offline
          Gertjan @azdeltawye
          last edited by

          @azdeltawye said in Having trouble accessing NAS through VPN server:

          huh??

          Don't worry. I thought you had a single pfSense LAN, 192.168.125.0/24 and a NAS using 192.168.200.4 on that LAN.
          That will fail of course.
          But solved now : you have more then one LAN ^^ Your NAS lives on the LAN called 'HOME' :

          481daab1-1e43-419d-9e7e-99026aea453d-image.png

          Check that :

          99b220ee-00af-42ab-b2bb-7db05055f0e4-image.png

          has been set to /24.

          Check that your OpenVPN interface firewall says :

          9752f332-864b-4fe2-978d-4be4171e900b-image.png

          Btw : You've two of them : 10.0.20.0/24 and 10.0.10.0/24.

          About :

          1aacbf53-f23b-47aa-829b-1c6cbb5d62f6-image.png

          I would presume that your iPad would have a 10.0.10.0/24 or 10.0.20.0/24 IP when connected to the VPN, not this 10.208.190.248 IP (where did that came from ?)

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            azdeltawye @Gertjan
            last edited by

            @Gertjan
            Actually, the NAS's live on the USER .200 network.
            7a8e6a4a-bd88-4746-b972-590669a71219-image.png
            Yes, it is a /24.

            dc59d4ee-7b17-45d3-adad-6b33724c9f4d-image.png
            4f971d77-9f42-4fa1-8a2d-ad35737c6473-image.png
            Yeah, I have the OpenVPN server subnets rule to allow all traffic.

            What advanced settings do you have in your VPN interface rule? I see a gear symbol next to the pass check mark. Is that something that may help?

            That private address assigned to my iPhone (10.208.190.248) is puzzling. It appears to be a Verizon thing. If I go to Starbucks and jump on their WiFi, or work, it shows the same address.. Just for kicks, I put that IP in the VPN interface rule shown above but that had no effect. My iPad does not have any of that since it has no SIM card.

            GertjanG 1 Reply Last reply Reply Quote 0
            • GertjanG Offline
              Gertjan @azdeltawye
              last edited by

              @azdeltawye said in Having trouble accessing NAS through VPN server:

              What advanced settings do you have in your VPN interface rule?

              Just the "Allow IP options" set :

              725c4fc0-313e-450b-86c5-e3df884e2000-image.png

              Probably not needed.

              Btw : my OpenVPN interface firewall rule set is empty :

              8104d901-73f3-4a8c-98d8-9e18c0621c08-image.png

              as I've created an "VPNS" for my OpenVPN server :

              c402e9c4-c11c-4bac-9f85-c0a7070d4b20-image.png

              so it's has it's own dedicated interface with rule set :

              9ba3fc32-ded8-4746-82c6-e93e22a2ef8c-image.png

              This is also most probably a way of doing things, and not important.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

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