ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    file sharing in the 21st century

    IT Discussion
    14
    159
    19.7k
    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.
    • DonahueD
      Donahue @JaredBusch
      last edited by

      @JaredBusch said in file sharing in the 21st century:

      @Donahue said in file sharing in the 21st century:

      Is there a way to point devices on the LAN to the LAN address instead of the external address?

      FFS, we just had this conversation in your other thread.

      You use an internal based DNS name. for clients that are only ever in the office.

      This prevernt you from having to add your public domain to your internal DNS.

      Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

      ObsolesceO 1 Reply Last reply Reply Quote 0
      • DonahueD
        Donahue
        last edited by

        well, I managed to lock my self out of NC, playing around with 2fa. I am unsure how to proceed, and may resort to just starting over.

        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite @Donahue
          last edited by

          @Donahue said in file sharing in the 21st century:

          well, I managed to lock my self out of NC, playing around with 2fa. I am unsure how to proceed, and may resort to just starting over.

          Already tried disabling 2fa plugin via CLI?

          DonahueD 1 Reply Last reply Reply Quote 0
          • DonahueD
            Donahue @black3dynamite
            last edited by

            @black3dynamite said in file sharing in the 21st century:

            @Donahue said in file sharing in the 21st century:

            well, I managed to lock my self out of NC, playing around with 2fa. I am unsure how to proceed, and may resort to just starting over.

            Already tried disabling 2fa plugin via CLI?

            yes. Apparently I did a backup code, and I cannot disable that.

            1 Reply Last reply Reply Quote 0
            • DonahueD
              Donahue
              last edited by

              I can't generate a new one because the app to do that from CLI wont enable because of DB issues.

              black3dynamiteB 1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite @Donahue
                last edited by black3dynamite

                @Donahue said in file sharing in the 21st century:

                I can't generate a new one because the app to do that from CLI wont enable because of DB issues.

                You've got the worst of luck with Nextcloud. Since its not in production, I'll start all over with just the basic setup and then go from there.

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender
                  last edited by

                  JB has a post about redirecting or linking the home folders under user profiles to the NC folder . This would then sync to the NC server.

                  The hassle- you have to do it on the PC after the user logs in.

                  1 Reply Last reply Reply Quote 0
                  • DonahueD
                    Donahue
                    last edited by

                    I think so. I think one of my biggest problems is that I can generally intuitively understand stuff and can glean a lot. This usually allows me to understand things really quickly, but there are times when I jump the gun and it bites me. This is one of those times.

                    1 Reply Last reply Reply Quote 0
                    • ObsolesceO
                      Obsolesce @Donahue
                      last edited by

                      @Donahue said in file sharing in the 21st century:

                      @JaredBusch said in file sharing in the 21st century:

                      @Donahue said in file sharing in the 21st century:

                      Is there a way to point devices on the LAN to the LAN address instead of the external address?

                      FFS, we just had this conversation in your other thread.

                      You use an internal based DNS name. for clients that are only ever in the office.

                      This prevernt you from having to add your public domain to your internal DNS.

                      Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

                      The only way to get internal clients to use different DNS than public clients is to have an internal DNS Zone that is the same name as your external public DNS name. But doing it that way means you need to copy over all public DNS records to your internal DNS zone now except now you will point hosts names to internal IP addresses for those you want

                      DonahueD 1 Reply Last reply Reply Quote 0
                      • DonahueD
                        Donahue
                        last edited by

                        ok, I blew it away and created it again. It only took like 20-30 minutes this time.

                        1 Reply Last reply Reply Quote 0
                        • DonahueD
                          Donahue @Obsolesce
                          last edited by

                          @Obsolesce said in file sharing in the 21st century:

                          @Donahue said in file sharing in the 21st century:

                          @JaredBusch said in file sharing in the 21st century:

                          @Donahue said in file sharing in the 21st century:

                          Is there a way to point devices on the LAN to the LAN address instead of the external address?

                          FFS, we just had this conversation in your other thread.

                          You use an internal based DNS name. for clients that are only ever in the office.

                          This prevernt you from having to add your public domain to your internal DNS.

                          Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

                          The only way to get internal clients to use different DNS than public clients is to have an internal DNS Zone that is the same name as your external public DNS name. But doing it that way means you need to copy over all public DNS records to your internal DNS zone now except now you will point hosts names to internal IP addresses for those you want

                          yeah, if that is the case, I will keep it simple and just run external full time.

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @Donahue
                            last edited by

                            @Donahue said in file sharing in the 21st century:

                            @Obsolesce said in file sharing in the 21st century:

                            @Donahue said in file sharing in the 21st century:

                            @JaredBusch said in file sharing in the 21st century:

                            @Donahue said in file sharing in the 21st century:

                            Is there a way to point devices on the LAN to the LAN address instead of the external address?

                            FFS, we just had this conversation in your other thread.

                            You use an internal based DNS name. for clients that are only ever in the office.

                            This prevernt you from having to add your public domain to your internal DNS.

                            Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

                            The only way to get internal clients to use different DNS than public clients is to have an internal DNS Zone that is the same name as your external public DNS name. But doing it that way means you need to copy over all public DNS records to your internal DNS zone now except now you will point hosts names to internal IP addresses for those you want

                            yeah, if that is the case, I will keep it simple and just run external full time.

                            Thatโ€™s not how that works

                            DonahueD 1 Reply Last reply Reply Quote 0
                            • DonahueD
                              Donahue @JaredBusch
                              last edited by

                              @JaredBusch said in file sharing in the 21st century:

                              @Donahue said in file sharing in the 21st century:

                              @Obsolesce said in file sharing in the 21st century:

                              @Donahue said in file sharing in the 21st century:

                              @JaredBusch said in file sharing in the 21st century:

                              @Donahue said in file sharing in the 21st century:

                              Is there a way to point devices on the LAN to the LAN address instead of the external address?

                              FFS, we just had this conversation in your other thread.

                              You use an internal based DNS name. for clients that are only ever in the office.

                              This prevernt you from having to add your public domain to your internal DNS.

                              Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

                              The only way to get internal clients to use different DNS than public clients is to have an internal DNS Zone that is the same name as your external public DNS name. But doing it that way means you need to copy over all public DNS records to your internal DNS zone now except now you will point hosts names to internal IP addresses for those you want

                              yeah, if that is the case, I will keep it simple and just run external full time.

                              Thatโ€™s not how that works

                              I am not sure what you are saying. If I do nothing, then users are going to be looking at the external domain and can access it that way as the default. I dont have to point it to the internal name.

                              notverypunnyN JaredBuschJ 2 Replies Last reply Reply Quote 0
                              • notverypunnyN
                                notverypunny @Donahue
                                last edited by

                                @Donahue said in file sharing in the 21st century:

                                @JaredBusch said in file sharing in the 21st century:

                                @Donahue said in file sharing in the 21st century:

                                @Obsolesce said in file sharing in the 21st century:

                                @Donahue said in file sharing in the 21st century:

                                @JaredBusch said in file sharing in the 21st century:

                                @Donahue said in file sharing in the 21st century:

                                Is there a way to point devices on the LAN to the LAN address instead of the external address?

                                FFS, we just had this conversation in your other thread.

                                You use an internal based DNS name. for clients that are only ever in the office.

                                This prevernt you from having to add your public domain to your internal DNS.

                                Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

                                The only way to get internal clients to use different DNS than public clients is to have an internal DNS Zone that is the same name as your external public DNS name. But doing it that way means you need to copy over all public DNS records to your internal DNS zone now except now you will point hosts names to internal IP addresses for those you want

                                yeah, if that is the case, I will keep it simple and just run external full time.

                                Thatโ€™s not how that works

                                I am not sure what you are saying. If I do nothing, then users are going to be looking at the external domain and can access it that way as the default. I dont have to point it to the internal name.

                                https://en.wikipedia.org/wiki/Split-horizon_DNS

                                1 Reply Last reply Reply Quote 1
                                • DonahueD
                                  Donahue @Donahue
                                  last edited by

                                  @Donahue said in file sharing in the 21st century:

                                  The third question is similar to the second. I would like NC to create a consistent folder structure when a new user is created or when some similar event is triggered. I plan on seeing if I can treat NC like a folder redirection of sorts.

                                  This works, at least the first half. You can create whatever you want for the default folders and files for new users by defining the skeletondirectory 'skeletondirectory' => '/path/to/nextcloud/core/skeleton',
                                  https://docs.nextcloud.com/server/15/admin_manual/configuration_server/config_sample_php_parameters.html

                                  I set mine up with Documents, Desktop, and Scans folder, and no files.

                                  1 Reply Last reply Reply Quote 0
                                  • wrx7mW
                                    wrx7m
                                    last edited by

                                    In Windows DNS, it is super easy to setup split DNS. Create a new forward lookup zone with the external domain and sub domain, i.e. subdomain.externaldomain.com
                                    Then, create an A record in that forward lookup zone, leaving the Name field blank and use the private IP address you are using for the server you want to point to.

                                    As long as your clients and other servers are using your internal DNS server for lookups, they will be able to find it.

                                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch @wrx7m
                                      last edited by

                                      @wrx7m said in file sharing in the 21st century:

                                      In Windows DNS, it is super easy to setup split DNS. Create a new forward lookup zone with the external domain and sub domain, i.e. subdomain.externaldomain.com
                                      Then, create an A record in that forward lookup zone, leaving the Name field blank and use the private IP address you are using for the server you want to point to.

                                      As long as your clients and other servers are using your internal DNS server for lookups, they will be able to find it.

                                      Itโ€™s also super stupid to do

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch @Donahue
                                        last edited by

                                        @Donahue said in file sharing in the 21st century:

                                        @JaredBusch said in file sharing in the 21st century:

                                        @Donahue said in file sharing in the 21st century:

                                        @Obsolesce said in file sharing in the 21st century:

                                        @Donahue said in file sharing in the 21st century:

                                        @JaredBusch said in file sharing in the 21st century:

                                        @Donahue said in file sharing in the 21st century:

                                        Is there a way to point devices on the LAN to the LAN address instead of the external address?

                                        FFS, we just had this conversation in your other thread.

                                        You use an internal based DNS name. for clients that are only ever in the office.

                                        This prevernt you from having to add your public domain to your internal DNS.

                                        Sorry, I see this as a slightly different thing. I do have external access now, and I would like users who may be out of the office to prefer internal when available. This is probably not a big deal though, no need to get your panties in a bunch ๐Ÿ˜‰

                                        The only way to get internal clients to use different DNS than public clients is to have an internal DNS Zone that is the same name as your external public DNS name. But doing it that way means you need to copy over all public DNS records to your internal DNS zone now except now you will point hosts names to internal IP addresses for those you want

                                        yeah, if that is the case, I will keep it simple and just run external full time.

                                        Thatโ€™s not how that works

                                        I am not sure what you are saying. If I do nothing, then users are going to be looking at the external domain and can access it that way as the default. I dont have to point it to the internal name.

                                        Good routers donโ€™t let you access something on your own IP from inside the network. Routers for stupid people have an option call hairpin. But what you actually need to do is create a gnat rule for inbound traffic on your land itโ€™s destined for your own WAN To not actually route out and back in but just to then route to the correct internal Destiination.

                                        wrx7mW 1 Reply Last reply Reply Quote 2
                                        • wrx7mW
                                          wrx7m @JaredBusch
                                          last edited by

                                          @JaredBusch Interesting.

                                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch @wrx7m
                                            last edited by

                                            @wrx7m said in file sharing in the 21st century:

                                            @JaredBusch Interesting.

                                            The fact that it works for you without even trying means that you have some kind of Nat hairpin already in place whether you know it or not

                                            DonahueD 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 4 / 8
                                            • First post
                                              Last post