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

    How to access Nas4free behind pfsense openvpn

    Scheduled Pinned Locked Moved OpenVPN
    34 Posts 4 Posters 6.8k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      This seems pretty clear to me..

      Tunnel Network – Should be a new, unique network that does not exist anywhere in the current network or routing table.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • I
        irs
        last edited by

        if i am picking it right i can use 10.25.30.1/24 ? as it could be the new network?

        1 Reply Last reply Reply Quote 0
        • I
          irs
          last edited by

          now since i am able to run vpn on pfsense and can access many things except nas4free and owncloud this is strange still i can not able to access my storage server ?

          my pfsense 192.168.0.1 openVPN
          local LAN 192.168.0.0/24
          tunnel 10.0.7.0/24
          remote ip 192.168.10.0/24

          nas4free
          host 192.168.10.0/24 10.0.70.0/24 192.168.1.0/24

          gateway 192.168.0.1

          what wrong I am doing?????
          please help

          1 Reply Last reply Reply Quote 0
          • B
            biggsy
            last edited by

            @irs:

            if i am picking it right i can use 10.25.30.1/24 ? as it could be the new network?

            Best not to use anything in the 192.168.0.0/16 or 10.0.0.0/8 ranges for your tunnel network, as these are often used in private networks that you might be trying to use the VPN from.

            Try something less likely to conflict with those ranges.  Maybe 172.23.46.0/24

            1 Reply Last reply Reply Quote 0
            • I
              irs
              last edited by

              but I am not using 192.168.0.0/16 for my tunnel
              my tunnel is 10.0.7.0/24

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

                Maybe the access is blocked by the nas4free itself. Check if it's accessible from another network connected to pfSense.

                1 Reply Last reply Reply Quote 0
                • I
                  irs
                  last edited by

                  nas4free is working on LAN no problem. but as soon as i tried to ping from openvpn it fails

                  1 Reply Last reply Reply Quote 0
                  • B
                    biggsy
                    last edited by

                    irs,

                    Let's see if we can get to the bottom of this.

                    Is it the NAS4Free web GUI that you cannot access, shares on NAS4Free or both?

                    What is the IP address of your OpenVPN client before you your start OpenVPN?  Is it always in the range 192.168.10.0/24?

                    Your pfSense subnets are as follows:
                      LAN - 192.168.0.0/24  (NAS4Free is in that subnet.  Correct?)
                      Tunnel - 10.0.7.0/24
                    Correct?

                    Can you please post screenshots of the following:

                    Each of these sections from pfSense GUI:
                        VPN / OpenVPN / Servers / Edit
                        Firewall / Rules / WAN
                        Firewall / Rules / OpenVPN
                        Firewall / NAT / Port Forward

                    From NAS4Free:
                        System > General Setup
                        Network > LAN Management
                        Network > Firewall
                        WebGUI section of System > General Setup

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      can your nas4free get to the internet?  Your first post stated

                      1. Nas4free ip: 10.0.10.15

                      I think I am going to fireup a copy of nas4fee on my esxi host.. This really should be just clickity clickity!!

                      edit:  Like I thought clickity clickity..  Fired up nas4free as vm on my home network esxi host.  Set it to dhcp, got IP address 192.168.9.218, I then accessed the gui and setup the host allow in general to allow my vpn tunnel network and my local 192.168.9.0/24 network.

                      Bing bang zoom - into the gui from my vpn connection, before this got the 403 forbidden error.

                      nas4freeaccess.png
                      nas4freeaccess.png_thumb

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • B
                        biggsy
                        last edited by

                        @johnpoz:

                        can your nas4free get to the internet?  Your first post stated

                        1. Nas4free ip: 10.0.10.15

                        That was in this thread.  Here it's on the LAN.

                        Maybe a mod could lock the other topics in NAT and General Questions

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          No in this thread go to the top of the page he states 10.0.10.15  Which is why you don't freaking cross post ;)

                          I have no idea what he is doing - this literally took a minute to setup…. There is nothing special to do other than allow your vpn tunnel network access via the screenshot I posted.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • I
                            irs
                            last edited by

                            @biggsy:

                            irs,

                            Let's see if we can get to the bottom of this.

                            Is it the NAS4Free web GUI that you cannot access, shares on NAS4Free or both?

                            What is the IP address of your OpenVPN client before you your start OpenVPN?  Is it always in the range 192.168.10.0/24?

                            Your pfSense subnets are as follows:
                              LAN - 192.168.0.0/24  (NAS4Free is in that subnet.  Correct?)
                              Tunnel - 10.0.7.0/24
                            Correct?

                            Can you please post screenshots of the following:

                            Each of these sections from pfSense GUI:
                                VPN / OpenVPN / Servers / Edit
                                Firewall / Rules / WAN
                                Firewall / Rules / OpenVPN
                                Firewall / NAT / Port Forward

                            From NAS4Free:
                                System > General Setup
                                Network > LAN Management
                                Network > Firewall
                                WebGUI section of System > General Setup

                            ![n4f network hosts.png](/public/imported_attachments/1/n4f network hosts.png)
                            ![n4f network hosts.png_thumb](/public/imported_attachments/1/n4f network hosts.png_thumb)

                            1 Reply Last reply Reply Quote 0
                            • I
                              irs
                              last edited by

                              @biggsy:

                              irs,

                              Let's see if we can get to the bottom of this.

                              Is it the NAS4Free web GUI that you cannot access, shares on NAS4Free or both?

                              What is the IP address of your OpenVPN client before you your start OpenVPN?  Is it always in the range 192.168.10.0/24?

                              Your pfSense subnets are as follows:
                                LAN - 192.168.0.0/24  (NAS4Free is in that subnet.  Correct?)
                                Tunnel - 10.0.7.0/24
                              Correct?

                              Can you please post screenshots of the following:

                              Each of these sections from pfSense GUI:
                                  VPN / OpenVPN / Servers / Edit
                                  Firewall / Rules / WAN
                                  Firewall / Rules / OpenVPN
                                  Firewall / NAT / Port Forward

                              From NAS4Free:
                                  System > General Setup
                                  Network > LAN Management
                                  Network > Firewall
                                  WebGUI section of System > General Setup

                              ![nas4free general.png](/public/imported_attachments/1/nas4free general.png)
                              ![nas4free general.png_thumb](/public/imported_attachments/1/nas4free general.png_thumb)
                              ![nas4free general.png](/public/imported_attachments/1/nas4free general.png)
                              ![nas4free general.png_thumb](/public/imported_attachments/1/nas4free general.png_thumb)
                              ![nas4free general.png](/public/imported_attachments/1/nas4free general.png)
                              ![nas4free general.png_thumb](/public/imported_attachments/1/nas4free general.png_thumb)

                              1 Reply Last reply Reply Quote 0
                              • I
                                irs
                                last edited by

                                @johnpoz:

                                can your nas4free get to the internet?  Your first post stated

                                1. Nas4free ip: 10.0.10.15

                                I think I am going to fireup a copy of nas4fee on my esxi host.. This really should be just clickity clickity!!

                                edit:  Like I thought clickity clickity..  Fired up nas4free as vm on my home network esxi host.  Set it to dhcp, got IP address 192.168.9.218, I then accessed the gui and setup the host allow in general to allow my vpn tunnel network and my local 192.168.9.0/24 network.

                                Bing bang zoom - into the gui from my vpn connection, before this got the 403 forbidden error.

                                Thx dear, Yes I changed as I was trying different options at different times. but still no luck my nas4free can not access internet. I have installed it in new machine without firewall but still nas4free can not access internet.

                                The host you suggested I tried that as well but no luck. i tried with several ip but no way.

                                ![nas4free general.png](/public/imported_attachments/1/nas4free general.png)
                                ![nas4free general.png_thumb](/public/imported_attachments/1/nas4free general.png_thumb)

                                1 Reply Last reply Reply Quote 0
                                • B
                                  biggsy
                                  last edited by

                                  I thought the problem was that you couldn't access teh NAS4Free from OpenVPN.

                                  You are now saying that it can't access the internet.

                                  @biggsy:

                                  irs,

                                  Can you please post screenshots of the following:

                                  Each of these sections from pfSense GUI:
                                      VPN / OpenVPN / Servers / Edit
                                      Firewall / Rules / WAN
                                      Firewall / Rules / OpenVPN
                                      Firewall / NAT / Port Forward

                                  From NAS4Free:
                                      System > General Setup
                                      Network > LAN Management
                                      Network > Firewall
                                      WebGUI section of System > General Setup

                                  And the rest of it?  BTW, you could cut down the repetition in the screenshots  ;)

                                  Why do you have 0.0.0.1/1, 1.0.0.0/2, 2.0.0.0/3 and 192.168.10.0/24 in the Hosts Allow?

                                  I think you might need to learn something about networking before you go any further.

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    irs
                                    last edited by

                                    some other guy suggested to have allow host and try though i tried 192.168.10.0/24 10.0.7.0/24 but no luck

                                    1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator
                                      last edited by

                                      dude can your nas4free access the internet or not?

                                      I already posted how freaking clickity clickity simple it is to allow access from other networks.  Your screenshots are not even the correct place to do that for access to the webgui..

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • I
                                        irs
                                        last edited by

                                        even new system can not ping internet

                                        ![ping diagnostic.png](/public/imported_attachments/1/ping diagnostic.png)
                                        ![ping diagnostic.png_thumb](/public/imported_attachments/1/ping diagnostic.png_thumb)

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          irs
                                          last edited by

                                          @johnpoz:

                                          dude can your nas4free access the internet or not?

                                          I already posted how freaking clickity clickity simple it is to allow access from other networks.  Your screenshots are not even the correct place to do that for access to the webgui..

                                          No my n4f can not access internet

                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by

                                            well if it can not get to internet - how and the F do you think you could get to it from vpn through the internet

                                            Is pfsense its gateway?  Can it ping pfsense gateway?  What are the rules on your pfsense interface this nas is connected to?  Are you using captive portal?

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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