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

    Routing port 80

    IT Discussion
    11
    32
    1.8k
    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.
    • scottalanmillerS
      scottalanmiller @Romo
      last edited by

      @Romo said in Routing port 80:

      @mroth911 You would have to setup a reverse proxy.

      This is different than sending different port 80 traffic to multiple places, but is the only means of accomplishing what your actual end goal is.

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

        @Emad-R said in Routing port 80:

        The reverse proxy will do this, but something about PF that makes it more reliable. just tell them to change port number when they visit the page or bookmark it .

        Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

        Definitely test this with one server being hosted from this location before worrying about hosting multiple web servers from there.

        Just for clarification - Port Forwarding is not typically something the ISP blocks - it's the whole port inbound to your location that they block - to prevent you from hosting websites on consumer connections.

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

          @Dashrender said in Routing port 80:

          @Emad-R said in Routing port 80:

          The reverse proxy will do this, but something about PF that makes it more reliable. just tell them to change port number when they visit the page or bookmark it .

          Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

          Definitely test this with one server being hosted from this location before worrying about hosting multiple web servers from there.

          Just for clarification - Port Forwarding is not typically something the ISP blocks - it's the whole port inbound to your location that they block - to prevent you from hosting websites on consumer connections.

          ISPs cannot block port forwarding. thats physically impossible.

          DashrenderD 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @Emad R
            last edited by

            @Emad-R said in Routing port 80:

            Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

            Port 80 is usually blocked. But forwarding is not blockable.

            DashrenderD M 2 Replies Last reply Reply Quote 1
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by

              @scottalanmiller said in Routing port 80:

              @Dashrender said in Routing port 80:

              @Emad-R said in Routing port 80:

              The reverse proxy will do this, but something about PF that makes it more reliable. just tell them to change port number when they visit the page or bookmark it .

              Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

              Definitely test this with one server being hosted from this location before worrying about hosting multiple web servers from there.

              Just for clarification - Port Forwarding is not typically something the ISP blocks - it's the whole port inbound to your location that they block - to prevent you from hosting websites on consumer connections.

              ISPs cannot block port forwarding. thats physically impossible.

              uh - ok.. yeah, that was my actual point... poor word choice. I was trying to be nice in how I corrected that whole 'blocking port forwarding' Emad said.

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

                @scottalanmiller said in Routing port 80:

                @Emad-R said in Routing port 80:

                Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                Port 80 is usually blocked. But forwarding is not blockable.

                Exactly - if the traffic on a given port makes it to you from the ISP, they can't prevent you forwarding that through your router to an internal device (discounting any arguments where the firewall is controlled by the ISP).

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

                  @Dashrender said in Routing port 80:

                  @scottalanmiller said in Routing port 80:

                  @Emad-R said in Routing port 80:

                  Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                  Port 80 is usually blocked. But forwarding is not blockable.

                  Exactly - if the traffic on a given port makes it to you from the ISP, they can't prevent you forwarding that through your router to an internal device (discounting any arguments where the firewall is controlled by the ISP).

                  Even when they control the firewall, you just add another one 🙂

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcinozga @scottalanmiller
                    last edited by

                    @scottalanmiller said in Routing port 80:

                    @Emad-R said in Routing port 80:

                    Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                    Port 80 is usually blocked. But forwarding is not blockable.

                    I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                    scottalanmillerS DashrenderD 2 Replies Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @marcinozga
                      last edited by

                      @marcinozga said in Routing port 80:

                      @scottalanmiller said in Routing port 80:

                      @Emad-R said in Routing port 80:

                      Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                      Port 80 is usually blocked. But forwarding is not blockable.

                      I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                      Or just don't use common ports. They can't block very many ports before nothing works.

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

                        @marcinozga said in Routing port 80:

                        @scottalanmiller said in Routing port 80:

                        @Emad-R said in Routing port 80:

                        Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                        Port 80 is usually blocked. But forwarding is not blockable.

                        I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                        They typically block all the common hosting ports, 25, 80, 443, 465 and 587 to prevent typical business type hosting.

                        As Scott said - they can't block to much more without causing other issues - but I have seen some block SMB ports as well.

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

                          @scottalanmiller said in Routing port 80:

                          @marcinozga said in Routing port 80:

                          @scottalanmiller said in Routing port 80:

                          @Emad-R said in Routing port 80:

                          Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                          Port 80 is usually blocked. But forwarding is not blockable.

                          I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                          Or just don't use common ports. They can't block very many ports before nothing works.

                          That makes no sense. I can 100% block all new inbound connections on every port, yet not stop anything inside from working normally.

                          DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                          • DashrenderD
                            Dashrender @JaredBusch
                            last edited by

                            @JaredBusch said in Routing port 80:

                            @scottalanmiller said in Routing port 80:

                            @marcinozga said in Routing port 80:

                            @scottalanmiller said in Routing port 80:

                            @Emad-R said in Routing port 80:

                            Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                            Port 80 is usually blocked. But forwarding is not blockable.

                            I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                            Or just don't use common ports. They can't block very many ports before nothing works.

                            That makes no sense. I can 100% block all new inbound connections on every port, yet not stop anything inside from working normally.

                            There are many services that don't use proxies to get things working, so if you can't host, you can't use that service...

                            That said, because of ISP shinanagins... Proxies have been put in place for many services to get around these problems...

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

                              @Dashrender said in Routing port 80:

                              @JaredBusch said in Routing port 80:

                              @scottalanmiller said in Routing port 80:

                              @marcinozga said in Routing port 80:

                              @scottalanmiller said in Routing port 80:

                              @Emad-R said in Routing port 80:

                              Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                              Port 80 is usually blocked. But forwarding is not blockable.

                              I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                              Or just don't use common ports. They can't block very many ports before nothing works.

                              That makes no sense. I can 100% block all new inbound connections on every port, yet not stop anything inside from working normally.

                              There are many services that don't use proxies to get things working, so if you can't host, you can't use that service...

                              That said, because of ISP shinanagins... Proxies have been put in place for many services to get around these problems...

                              That has nothing to do which what @scottalanmiller said it I said.

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

                                @JaredBusch said in Routing port 80:

                                @scottalanmiller said in Routing port 80:

                                @marcinozga said in Routing port 80:

                                @scottalanmiller said in Routing port 80:

                                @Emad-R said in Routing port 80:

                                Also usually your not allowed to PF on residential stuff, even you set it up it wont work.

                                Port 80 is usually blocked. But forwarding is not blockable.

                                I haven't run into that yet, but I've heard some do block ports. And it's usually 25. If ISP blocks port 80, setup website on 443, or change ISP.

                                Or just don't use common ports. They can't block very many ports before nothing works.

                                That makes no sense. I can 100% block all new inbound connections on every port, yet not stop anything inside from working normally.

                                True, you can block inbound only for new.

                                1 Reply Last reply Reply Quote 0
                                • 1
                                  1337
                                  last edited by 1337

                                  OPTION 1
                                  Easiest is to just port forward on different ports.

                                  Router settings:
                                  WAN:8080 -> testserver1:80
                                  WAN:8081 -> testserver2:80
                                  WAN:8082 -> testserver3:80
                                  etc

                                  Use http://wan:8081 to get to testserver2.


                                  OPTION 2

                                  You need to set up a name based reverse proxy (for instance using apache) on your LAN.

                                  Dynamic DNS:
                                  domain1 -> WAN address
                                  domain2 -> WAN address
                                  domain3 -> WAN address
                                  etc

                                  Router settings:
                                  WAN:80 or whatever -> reverse_proxy:80

                                  Reverse Proxy Rules:
                                  domain1 -> testserver1
                                  domain2 -> testserver2
                                  domain3 -> testserver3

                                  When you access http://domain1 it will lead to the WAN address.
                                  When the request hits the reverse proxy it will use the domain name to determine which server to forward the request to.

                                  1 Reply Last reply Reply Quote 1
                                  • IRJI
                                    IRJ
                                    last edited by

                                    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?

                                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                                    • 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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post