Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Selfhosted
  3. [SOLVED] ELI5: How to put several servers on one external IP?

[SOLVED] ELI5: How to put several servers on one external IP?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
96 Posts 36 Posters 1 Views
  • 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.
  • A [email protected]

    Yes, I know where this feature is in the settings, but it's got its own issues and I also turn the NAS off for the night, so it's not an option for me.

    J This user is from outside of this forum
    J This user is from outside of this forum
    [email protected]
    wrote last edited by
    #58

    Why do you turn off the NAS at night? Reminds me of my grandparents turning off the wifi at night.

    A 1 Reply Last reply
    0
    • A [email protected]

      Yes, I know where this feature is in the settings, but it's got its own issues and I also turn the NAS off for the night, so it's not an option for me.

      Y This user is from outside of this forum
      Y This user is from outside of this forum
      [email protected]
      wrote last edited by
      #59

      then its not selfhosting.

      A 1 Reply Last reply
      0
      • J [email protected]

        Why do you turn off the NAS at night? Reminds me of my grandparents turning off the wifi at night.

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote last edited by [email protected]
        #60

        Drives are somewhat noisy (even though I took fairly quiet ones) and I appreciate total silence at night. Unfortunately, I don't have many places to put it outside my single room, so there's that.

        I'd love to move to SSDs for storage at some point (I know it's controversial, but they would fit my use case better), but for now it's too expensive for me.

        J 1 Reply Last reply
        1
        • Y [email protected]

          then its not selfhosting.

          A This user is from outside of this forum
          A This user is from outside of this forum
          [email protected]
          wrote last edited by
          #61

          In what way? It is a physical server located in my bedroom, sharing resources online.

          S 1 Reply Last reply
          0
          • A [email protected]

            Drives are somewhat noisy (even though I took fairly quiet ones) and I appreciate total silence at night. Unfortunately, I don't have many places to put it outside my single room, so there's that.

            I'd love to move to SSDs for storage at some point (I know it's controversial, but they would fit my use case better), but for now it's too expensive for me.

            J This user is from outside of this forum
            J This user is from outside of this forum
            [email protected]
            wrote last edited by
            #62

            Ahh, that's valid. I've been wanting to build a (relatively) small 16TB SSD NAS for video editing, after which I could dump footage to my main NAS. SSD NAS systems can definitely make sense depending on your use case. Hell, you can even game off of them if you've got 10gig networking.

            A 1 Reply Last reply
            1
            • J [email protected]

              Ahh, that's valid. I've been wanting to build a (relatively) small 16TB SSD NAS for video editing, after which I could dump footage to my main NAS. SSD NAS systems can definitely make sense depending on your use case. Hell, you can even game off of them if you've got 10gig networking.

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote last edited by [email protected]
              #63

              I'd love to eventually have a 10gbps LAN, yep 🙂

              I'd also love to explore the technology going into cloud gaming, so not only would I launch games using files laying on the server, but could actually play them everywhere from my energy efficient potato laptop 😄

              But that's long ahead and more of an "if it even works properly"

              1 Reply Last reply
              0
              • A [email protected]

                Pretty solid!
                Though insta-ban on everything :80/443 may backfire - too easy to just enter the domain name without subdomain by accident.

                H This user is from outside of this forum
                H This user is from outside of this forum
                [email protected]
                wrote last edited by
                #64

                Could be indeed. Looking at the nginx logs, setting a permaban on trying to access /git and a couple of others might catch 99% of bots too. And ssh port ban trigger (using knockd for example) is also pretty powerful yet safe.

                1 Reply Last reply
                1
                • T [email protected]

                  Not sure why you're downvote, you're absolutely right. People scan for open ports all day long and will eventually find your shit and try to break in. In my work environment, I see thousands of login attempts daily on brand new accounts, just because something discovered they exist and want to check it out.

                  S This user is from outside of this forum
                  S This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #65

                  Those who have not been burned yet often don't expect it to happen to them. Usually it isn't anything big causing it but some typo in a config or software not updated on time.

                  1 Reply Last reply
                  0
                  • A [email protected]

                    In what way? It is a physical server located in my bedroom, sharing resources online.

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #66

                    Dude above you over is under the perception that it requires 100% uptime or other users to to be classified, which is wrong. You are definitely self hosting, albeit only for yourself I assume. Which is fine

                    A Y 2 Replies Last reply
                    3
                    • A [email protected]

                      Thanks! I got that advice as well, but I would like to keep it self-hosted - I consider using Pangolin on a VPS for that purpose going forward: https://github.com/fosrl/pangolin

                      Also, beware of the new attack on Cloudflare Tunnel:
                      https://www.csoonline.com/article/4009636/phishing-campaign-abuses-cloudflare-tunnels-to-sneak-malware-past-firewalls.html

                      A This user is from outside of this forum
                      A This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #67

                      This attack targets end users, not Cloudflare tunnel operators (i.e. self-hosters). It abuses Cloudflare Tunnels as a delivery mechanism for malware payloads, not as a method to compromise or attack people who are self-hosting their own services through Cloudflare Tunnels.

                      A 1 Reply Last reply
                      0
                      • A [email protected]

                        While not supportive of Big Tech, I do appreciate your piece of advice, and understand self-hosting needs differ!

                        P.S. Also beware, seems like there's a new attack through Tunnels:

                        https://www.csoonline.com/article/4009636/phishing-campaign-abuses-cloudflare-tunnels-to-sneak-malware-past-firewalls.html

                        A This user is from outside of this forum
                        A This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #68

                        Again, attack targets end users, not Cloudflare tunnel operators: It abuses Cloudflare Tunnels as a delivery mechanism for malware payloads, not as a method to compromise or attack people who are self-hosting their own services through Cloudflare Tunnels.

                        1 Reply Last reply
                        0
                        • A [email protected]

                          I'm pretty new to selfhosting and homelabs, and I would appreciate a simple-worded explanation here. Details are always welcome!

                          So, I have a home network with a dynamic external IP address. I already have my Synology NAS exposed to the Internet with DDNS - this was done using the interface, so didn't require much technical knowledge.

                          Now, I would like to add another server (currently testing with Raspberry Pi) in the same LAN that would also be externally reachable, either through a subdomain (preferable), or through specific ports. How do I go about it?

                          P.S. Apparently, what I've tried on the router does work, it's just that my NAS was sitting in the DMZ. Now it works!

                          possiblylinux127@lemmy.zipP This user is from outside of this forum
                          possiblylinux127@lemmy.zipP This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #69

                          What are you running?

                          If it is http based use a reverse proxy like Caddy

                          A 2 Replies Last reply
                          8
                          • rikudou@lemmings.worldR [email protected]

                            You can use frp to do the same thing a CloudFlare tunnel does without giving them your unencrypted data.

                            https://github.com/fatedier/frp

                            A This user is from outside of this forum
                            A This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #70

                            It's definitely not the same thing.
                            I do understand reservations behind usage free-tier services from Big Bad Corp., but I don't understand malicious reduction of valid arguments for usage of those services.

                            rikudou@lemmings.worldR 1 Reply Last reply
                            0
                            • bruhduh@lemmy.worldB [email protected]

                              NAT translation, i use my openwrt router for that

                              possiblylinux127@lemmy.zipP This user is from outside of this forum
                              possiblylinux127@lemmy.zipP This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #71

                              OpenWRT also has great IPv6 support

                              1 Reply Last reply
                              0
                              • J [email protected]

                                Your stuff is more likely to get scanned sitting in a VPS with no firewall than behind a firewall on a home network

                                possiblylinux127@lemmy.zipP This user is from outside of this forum
                                possiblylinux127@lemmy.zipP This user is from outside of this forum
                                [email protected]
                                wrote last edited by
                                #72

                                Why wouldn't you setup a firewall on the VPS?

                                J 1 Reply Last reply
                                0
                                • brobot9000@lemmy.worldB [email protected]

                                  They are a plague with how prevalent they have become.

                                  The internet shouldn’t put all its eggs into one basket.

                                  It’s just another centralized entity which will lead to monopolized power. It goes against what we are trying to do with federated networks like Lemmy and mastodon.

                                  A This user is from outside of this forum
                                  A This user is from outside of this forum
                                  [email protected]
                                  wrote last edited by [email protected]
                                  #73

                                  I prefer to use products and services before inevitable enshittification, not after the curve. Refusing to use them won’t change their fate.

                                  1 Reply Last reply
                                  0
                                  • possiblylinux127@lemmy.zipP [email protected]

                                    What are you running?

                                    If it is http based use a reverse proxy like Caddy

                                    A This user is from outside of this forum
                                    A This user is from outside of this forum
                                    [email protected]
                                    wrote last edited by
                                    #74

                                    For now just some experiments alongside NAS

                                    Planning to host Bitwarden, Wallabag and other niceties on the server, and then when I get something more powerful, spin up Minecraft server and stuff

                                    G 1 Reply Last reply
                                    1
                                    • A [email protected]

                                      This attack targets end users, not Cloudflare tunnel operators (i.e. self-hosters). It abuses Cloudflare Tunnels as a delivery mechanism for malware payloads, not as a method to compromise or attack people who are self-hosting their own services through Cloudflare Tunnels.

                                      A This user is from outside of this forum
                                      A This user is from outside of this forum
                                      [email protected]
                                      wrote last edited by
                                      #75

                                      Thanks for clarification!

                                      1 Reply Last reply
                                      0
                                      • S [email protected]

                                        Dude above you over is under the perception that it requires 100% uptime or other users to to be classified, which is wrong. You are definitely self hosting, albeit only for yourself I assume. Which is fine

                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        [email protected]
                                        wrote last edited by
                                        #76

                                        Yep, sharing stuff for others requires more expertise, as I'll get responsible for other people's experience. If I screw something up now, only I will be affected.

                                        S 1 Reply Last reply
                                        0
                                        • A [email protected]

                                          Yep, sharing stuff for others requires more expertise, as I'll get responsible for other people's experience. If I screw something up now, only I will be affected.

                                          S This user is from outside of this forum
                                          S This user is from outside of this forum
                                          [email protected]
                                          wrote last edited by
                                          #77

                                          And you are self-sufficient, or whatever the word is. But that's the key thing for me, not having to rely on others for my services 🙂

                                          A 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups