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

How to access Nas4free behind pfsense openvpn

OpenVPN
4
34
6.2k
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.
  • I
    irs
    last edited by Jun 8, 2017, 6:06 AM

    @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
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Jun 8, 2017, 10:02 AM

      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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • I
        irs
        last edited by Jun 9, 2017, 12:51 AM

        @biggsy:

        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.

        VPNOpenVPNServersEdit.png
        VPNOpenVPNServersEdit.png_thumb
        ![VPNOpenVPNServersEdit 2.png](/public/imported_attachments/1/VPNOpenVPNServersEdit 2.png)
        ![VPNOpenVPNServersEdit 2.png_thumb](/public/imported_attachments/1/VPNOpenVPNServersEdit 2.png_thumb)
        ![VPNOpenVPNServersEdit 3.png](/public/imported_attachments/1/VPNOpenVPNServersEdit 3.png)
        ![VPNOpenVPNServersEdit 3.png_thumb](/public/imported_attachments/1/VPNOpenVPNServersEdit 3.png_thumb)
        ![VPNOpenVPNServersEdit 4.png](/public/imported_attachments/1/VPNOpenVPNServersEdit 4.png)
        ![VPNOpenVPNServersEdit 4.png_thumb](/public/imported_attachments/1/VPNOpenVPNServersEdit 4.png_thumb)
        ![VPNOpenVPNServersEdit 5.png](/public/imported_attachments/1/VPNOpenVPNServersEdit 5.png)
        ![VPNOpenVPNServersEdit 5.png_thumb](/public/imported_attachments/1/VPNOpenVPNServersEdit 5.png_thumb)
        FirewallRulesWAN.png
        FirewallRulesWAN.png_thumb
        FirewallRulesOpenVPN.png
        FirewallRulesOpenVPN.png_thumb
        ![FirewallNATPort Forward.png](/public/imported_attachments/1/FirewallNATPort Forward.png)
        ![FirewallNATPort Forward.png_thumb](/public/imported_attachments/1/FirewallNATPort Forward.png_thumb)
        ![n4f general setup.png](/public/imported_attachments/1/n4f general setup.png)
        ![n4f general setup.png_thumb](/public/imported_attachments/1/n4f general setup.png_thumb)
        ![n4f Network Firewall.png](/public/imported_attachments/1/n4f Network Firewall.png)
        ![n4f Network Firewall.png_thumb](/public/imported_attachments/1/n4f Network Firewall.png_thumb)

        1 Reply Last reply Reply Quote 0
        • I
          irs
          last edited by Jun 9, 2017, 5:14 AM

          @johnpoz:

          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?

          yes my gateway is pfsense and I can ping nas4free witin pfsense. No I am not using captive portal.

          FirewallRulesWAN.png
          FirewallRulesWAN.png_thumb

          1 Reply Last reply Reply Quote 0
          • B
            biggsy
            last edited by Jun 9, 2017, 5:32 AM

            :o  Got WannaCrypt yet?

            Why do you have all those ports open on WAN!!!  All you need open on the WAN is OpenVPN.

            Do a fresh install of pfSense to clear out all those rules.

            Redo your OpenVPN configuration and client export. Use the standard UDP port 1194. Set your tunnel network to 172.23.45.0/24 or something else in that range.  (With your tunnel set to 10.0.7.0/24, if you try to use OpenVPN from a network that uses the 10.0.0.0/8 range, you will have problems.)

            NAS4Free GUI can just run on TCP port 443.  Change the NAS4Free Hosts Allow setting to match your tunnel network and the LAN.  (VPN access to any SMB shares can be dealt with later.)

            1 Reply Last reply Reply Quote 0
            • I
              irs
              last edited by Jun 9, 2017, 6:01 AM

              ok I will do that as per your Guide.

              Will let you know after fresh install.

              Thx for your help and guide. i hope it will work this time. But I tried to install nas4free fresh but it can not ping internet.

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by Jun 9, 2017, 10:00 AM

                WTF… Yeah start clean!  How do you think forwarding the same port to different IPs would ever work?

                And why in the world would you forward netbios from internet into your network?

                Why/How could you have a source of your lan net hitting your wan, trying to go to 10.10.25.158??

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • I
                  irs
                  last edited by Jun 9, 2017, 10:35 AM

                  @johnpoz:

                  WTF… Yeah start clean!  How do you think forwarding the same port to different IPs would ever work?

                  And why in the world would you forward netbios from internet into your network?

                  Why/How could you have a source of your lan net hitting your wan, trying to go to 10.10.25.158??

                  Yes I understand my mistake I should be careful next time not to forward same port to different ips.

                  the netbios I don't remember why?

                  that address 10.10.25.158 is another mistake.

                  Thanks for pointing and helping to understand my mistakes.

                  1 Reply Last reply Reply Quote 0
                  • J
                    johnpoz LAYER 8 Global Moderator
                    last edited by Jun 9, 2017, 10:51 AM

                    BTW, unless you have a VIP setup on your wan.. The destination on a port forward is always going to be your WAN address.  * is not how you want to set it..

                    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.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • I
                      irs
                      last edited by Jun 9, 2017, 11:06 AM

                      :)

                      1 Reply Last reply Reply Quote 0
                      • I
                        irs
                        last edited by Jun 9, 2017, 11:08 AM

                        I have a quick question. why Nas4free can not access internet even without pfsense?

                        1 Reply Last reply Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator
                          last edited by Jun 9, 2017, 2:29 PM

                          Huh??  Have no idea what that question is suppose to be asking.. Why can some host you setup not access the internet?  Guess would be you set it up wrong ;)  Since it seems you clearly have internet access since your posting this ;)

                          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.7.2, 24.11

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