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

    Port Forwarding not working on my Duet Wifi

    Scheduled Pinned Locked Moved
    General Discussion
    6
    12
    2.0k
    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.
    • sLpFhaWKundefined
      sLpFhaWK
      last edited by

      Is there a setting to turn it on, because I have it working on 2 raspberry pi's using octoprint with no issues. And it just refuses to connect.

      Sorry to ask such a simple question but since it's only relative to the Duet Wifi I figured I'd ask here. Thanks!

      -sLpFhaWK
      Ultibots K250v
      Rostock Max v2 Soon to be Full MetalMax
      Mini Kossel

      1 Reply Last reply Reply Quote 0
      • peridotundefined
        peridot
        last edited by

        Uh, what do you mean by "port forwarding"?

        The Duet WiFi only responds to HTTP requests on port 80 from any host that can see it. One configuration some people use is a proxy running on a different machine, perhaps a raspberry pi, that accepts connections from the outside world and forwards them to the Duet WiFi. Are you talking about something like this? I haven't set it up, but I'd use SSH to connect from the outside host and use SSH's port forwarding to connect to the Duet; I have this working for other web services. I think it's also possible to use a proxy machine that translates some kind of authenticated HTTPS connection from the outside to an HTTP connection to the Duet.

        The Raspberry Pi is a full-fledged if wimpy Linux machine, so it supports HTTPS itself as well as SSH, which allows you to set up some kinds of port forwarding without using an extra machine. It is not capable of real-time work, so the Duet uses a 32-bit MCU which does not run Linux and provides rather limited network services.

        1 Reply Last reply Reply Quote 0
        • Alex9779undefined
          Alex9779
          last edited by

          I have a similar issues, I can't access the Duet Wifi when I am logged in my VPN.
          VPN devices use a different subnet and are routed via the gateway.
          For me it seems the Duet does not use the gateway to send the data.
          One solution might be to use a reverse proxy but I didn't try yet…

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            Currently, the Duet WiFi will always use the gateway address assigned to it by the router using DHCP. Do you need to set a different gateway address to get access via your VPN?

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • Alex9779undefined
              Alex9779
              last edited by

              Nope I don't need a different gateway, it is just that gateway, it does DHCP and the VPN (and a lot of other stuff).
              But from VPN I don't get a connection…

              1 Reply Last reply Reply Quote 0
              • DjDemonDundefined
                DjDemonD
                last edited by

                Possibly not relevant, but my router won't show the DuetWifi in the list of attached devices even when it is connected and functioning normally. But knowing its MAC address I can assign it to be allocated the same IP each time reliably.

                Simon. Precision Piezo Z-Probe Technology
                www.precisionpiezo.co.uk
                PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                1 Reply Last reply Reply Quote 0
                • Alex9779undefined
                  Alex9779
                  last edited by

                  @DjDemonD:

                  Possibly not relevant, but my router won't show the DuetWifi in the list of attached devices even when it is connected and functioning normally. But knowing its MAC address I can assign it to be allocated the same IP each time reliably.

                  I can do the same, though the MAC address my router shows has nothing in common with the one I set in the config…

                  1 Reply Last reply Reply Quote 0
                  • peridotundefined
                    peridot
                    last edited by

                    The Duet WiFi ignores the G-code network configuration; its network settings live aboard the ESP8266 board.

                    1 Reply Last reply Reply Quote 0
                    • Alex9779undefined
                      Alex9779
                      last edited by

                      @peridot:

                      The Duet WiFi ignores the G-code network configuration; its network settings live aboard the ESP8266 board.

                      Nice to know… I just changed the files which were on the SD whne it arrived, so I thought what was already in there would work...

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by

                        @Alex9779:

                        @peridot:

                        The Duet WiFi ignores the G-code network configuration; its network settings live aboard the ESP8266 board.

                        Nice to know… I just changed the files which were on the SD whne it arrived, so I thought what was already in there would work...

                        This and other known firmware issues are listed at https://duet3d.com/wiki/Pre-production_hardware_limitations_and_known_firmware_issues.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        1 Reply Last reply Reply Quote 0
                        • Alex9779undefined
                          Alex9779
                          last edited by

                          This and other known firmware issues are listed at https://duet3d.com/wiki/Pre-production_ … are_issues.

                          Oh well, I read that page, I can't remember everything 😉

                          I am thinking how I can possibly analyse whats going on, but I have only "cheap and unmanaged" network switches so packet analyzing between "other" devices than my computer and the device is not possible…

                          1 Reply Last reply Reply Quote 0
                          • Dfemiundefined
                            Dfemi
                            last edited by

                            Guys, tell me please. I have a similar problem, but it appeared just after I tried to change my ip to another. The question is whether the fault be a proxy server?

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