Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Change port 80 outside access?

    Scheduled Pinned Locked Moved
    General Discussion
    7
    9
    1.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.
    • alfqueenundefined
      alfqueen
      last edited by

      Is there any way to change port 80 to be able to access from an external network to a wifi duet ?.My problem is that I have 3 duet wifi and I can only access one of them by forwarding ports and I do not know how to put the others.
      Is there any way to change port 80 in the other wifi duet ?.

      1 Reply Last reply Reply Quote 0
      • whosrdaddyundefined
        whosrdaddy
        last edited by

        Yes you can, check M586 :

        M586 P0 S1 R20000 ; Set Port 20000 for HTTP

        1 Reply Last reply Reply Quote 0
        • dragonnundefined
          dragonn
          last edited by

          Most routers allows forwarding any port to any port. So you can map:
          81 to port 80 on first duet
          82 to port 80 on next duet
          and so on.

          1 Reply Last reply Reply Quote 0
          • alfqueenundefined
            alfqueen
            last edited by

            Thank you both, now I can.

            1 Reply Last reply Reply Quote 0
            • Danalundefined
              Danal
              last edited by

              However... I personally would NEVER "forward" a device such as a Duet to the public internet.

              Use a reverse proxy that requires authentication, etc.

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • T3P3Tonyundefined
                T3P3Tony administrators
                last edited by

                Yes please do not put a Duet on the open internet. If you need to access it remotely please use a VPN

                www.duet3d.com

                1 Reply Last reply Reply Quote 0
                • Crash69undefined
                  Crash69
                  last edited by

                  As an alternative to running a VPN or reverse proxy, you can set a password on each of your printers

                  1. set a password on each printer using the M551 command in your config.g
                  2. set each printer to have a fixed internal IP
                  3. set port forwarding, preferably use an obscure port - IE something like port forward 7193 from external or some other random port to your internal DUET port 80, then on 2nd printer use port 7194 etc

                  I do this for for my 3 printers, along with a webcams on each so I can monitor prints when I am at work using my pc or my phone when I'm out for dinner etc, I need to supply the password to do anything like stop the printer if I need to etc.

                  Sure VPN / SSH / Reverse Proxy and other methods are providing more robust security but they add complexity and steps to monitor your prints from outside. using an obscure port along with requiring a password is enough for me, I'm in the "I just want to get it working simply and with at least some form of password protection" camp

                  T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Port scanners don't care how obscure a port is. Just sayin.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @Crash69
                      last edited by

                      @crash69 the password on the duet is not intended to provide security against a determined attacker, also when you login, because the duet is not using https, that password is not sent securely. This can just stop a casual connection from someone curious. I must repeat this please do not put Duets on the open internet (or a large uncontrolled intranet like a university). If you have a use for controlling them remotely then either provide a VPN into your local network, or remote connect into a local PC and control them from that.

                      www.duet3d.com

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA