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

    Routing port 80

    Scheduled Pinned Locked Moved IT Discussion
    32 Posts 11 Posters 2.1k 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.
    • IRJI
      IRJ
      last edited by

      You can run like 5 websites on a t2.small which is Free Tier as long as you dont have crazy traffic.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @IRJ
        last edited by

        @IRJ said in Routing port 80:

        This whole idea doesn't make much sense to me. If really "test" why isnt testing internally sufficient? Like seriously what are you testing are you doing that wont work with attaching the instance to a public IP?

        It sounds like you are trying to skirt having to pay for additonal IPs or a hosting solution. Hey, I get it. I appreciate a guy trying t o save a buck, but you are creating alot more headache for very little gain. Hosting anything production on your home network woud be pretty silly to save a few pennies. I mean hosted solutions are dirt cheap.

        So lets start with this. What are you really trying to accomplish?

        Another approach would be to use a VPN of some sort.

        1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22
          last edited by

          @mroth911 said in Routing port 80:

          I have residential comcast, and a dynamic ip. I would like to port forward several test servers that run on port 80. using this single ip./ How can I do thats. I know I can port forward 1 to whatever internal IP address./ But how do I do more then one.

          Reverse proxy. Ports 80/443 are forwarded to the reverse proxy server and it reads server blocks to determine where traffic goes. I do this at home for my lab as I have like 8 web servers running there. there are multiple guides here on how to achieve this:

          https://mangolassi.it/topic/16651/install-nginx-as-a-reverse-proxy-on-fedora-27/106
          https://mangolassi.it/topic/6905/setting-up-nginx-on-centos-7-as-a-reverse-proxy/47

          1 Reply Last reply Reply Quote 1
          • mroth911M
            mroth911
            last edited by

            Really ok cool. Yeah this is a test on my dynamic IP address I don't want to order static ip's I need to test some stuff and make it public however where this equipment is located it just not worth it to purchase static ip's.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @mroth911
              last edited by

              @mroth911 said in Routing port 80:

              Really ok cool. Yeah this is a test on my dynamic IP address I don't want to order static ip's I need to test some stuff and make it public however where this equipment is located it just not worth it to purchase static ip's.

              ZeroTier is often a great solution for this.

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

                @scottalanmiller said in Routing port 80:

                @mroth911 said in Routing port 80:

                Really ok cool. Yeah this is a test on my dynamic IP address I don't want to order static ip's I need to test some stuff and make it public however where this equipment is located it just not worth it to purchase static ip's.

                ZeroTier is often a great solution for this.

                I have put ZeroTier on a FreePBX system and then made a public a record on cloudflare for ztpbx.domain.com and entered the ZT network IP address. Worked perfectly for me to access from wherever by domain name.

                1 Reply Last reply Reply Quote 4
                • mroth911M
                  mroth911
                  last edited by

                  @coliver said in Routing port 80:

                  HAProxy

                  So this is what I am trying to accomplish, Prior to this setup I had 5 static ip's. Now I have only 1 ip. I have 2-3 web servers that are vm's. One is an odoo, and 2 different screen connect servers. I want to be able to use port 80 on each server, router them to there local ip. 10.0.0.x but still use there example.com name

                  coliverC 1 Reply Last reply Reply Quote 0
                  • coliverC
                    coliver @mroth911
                    last edited by

                    @mroth911 said in Routing port 80:

                    @coliver said in Routing port 80:

                    HAProxy

                    So this is what I am trying to accomplish, Prior to this setup I had 5 static ip's. Now I have only 1 ip. I have 2-3 web servers that are vm's. One is an odoo, and 2 different screen connect servers. I want to be able to use port 80 on each server, router them to there local ip. 10.0.0.x but still use there example.com name

                    Yeah, you're looking for a reverse proxy.

                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @coliver
                      last edited by

                      @coliver said in Routing port 80:

                      @mroth911 said in Routing port 80:

                      @coliver said in Routing port 80:

                      HAProxy

                      So this is what I am trying to accomplish, Prior to this setup I had 5 static ip's. Now I have only 1 ip. I have 2-3 web servers that are vm's. One is an odoo, and 2 different screen connect servers. I want to be able to use port 80 on each server, router them to there local ip. 10.0.0.x but still use there example.com name

                      Yeah, you're looking for a reverse proxy.

                      Yup, a proxy is a "router" for layer 7. Only layer 7 has URLs.

                      1 Reply Last reply Reply Quote 0
                      • mroth911M
                        mroth911
                        last edited by

                        So is there any services that I can use, or do I have to build a server? or what can I do to simplify the process.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @mroth911
                          last edited by

                          @mroth911 said in Routing port 80:

                          So is there any services that I can use, or do I have to build a server? or what can I do to simplify the process.

                          An external service can't help because you need to direct the traffic once inside your LAN. You just need a reverse proxy, like Nginx, running somewhere and all port 80 pointing to that, and it in turn pointing to the internal resources. So it can be a dedicated server or shared with some other task.

                          1 Reply Last reply Reply Quote 2
                          • 1
                          • 2
                          • 1 / 2
                          • First post
                            Last post