Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Help forwarding to webdav share

    Scheduled Pinned Locked Moved Firewalling
    29 Posts 4 Posters 5.9k 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.
    • J
      Jumbosausage
      last edited by

      It doesn't allow you to do that though, it comes back as being an invalid url address.

      Screenshot.jpg
      Screenshot.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        What's IT? This certainly has absolutely nothing to do with pfSense. What's this redirect nonsense? Register some DDNS host and get it updated via pfSense. Type the URL into your WebDAV client instead of doing some whacky absolutely useless "redirects" using god knows what service.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Yeah, with two colons before the port number it's going to complain it's an invalid URL.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            Two colons or not

            • these "DNS" records do NOT point to your dynamic IP (see below)
            • these records do NOT work properly with tons of WebDAV clients since the redirect is done via a webserver of the DynDNS provider (better case would be via webserver's configuration, but it can be done via PHP, HTML or even JS or - yuck - frames)

            ::)  :o

            1 Reply Last reply Reply Quote 0
            • J
              Jumbosausage
              last edited by

              @doktornotor:

              What's IT? This certainly has absolutely nothing to do with pfSense. What's this redirect nonsense? Register some DDNS host and get it updated via pfSense. Type the URL into your WebDAV client instead of doing some whacky absolutely useless "redirects" using god knows what service.

              It's no-ip DDNS service that I'm using. And Ideally I need this accessible via a web browser rather having to have some 3rd party client software installed. I need customers to be able to access it and download files, I could do without having to ask them to install software beforehand, much easy to send them a link to the share.

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                So send them the link? Really no idea what are you trying to do with the redirect URLs. It won't work properly or at all.

                1 Reply Last reply Reply Quote 0
                • J
                  Jumbosausage
                  last edited by

                  The problem I've got is that my ISP uses dynamic IP addresses and it changes a couple of times of week. Therefore sending out a link to the share will only work until my public IP changes. By doing the redirect and pointing to a DDNS name rather than an IP would have solved this problem.

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    Uh. Yes. Replace your dynamic IP in the link with the dynamic hostname. Do NOT use any URL-redirect type service for this. It will NOT work properly and is absolutely NOT needed. In the screenshot above, you should use DNS host (A), and NOT URL!

                    (And as already noted above, behind double NAT, port-forwarding on pfSense alone will do zilch and it still will not work. Get rid of the double NAT or forward this in both places.)

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate
                      last edited by

                      OMFG I surrender.

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jumbosausage
                        last edited by

                        @doktornotor:

                        Uh. Yes. Replace your dynamic IP in the link with the dynamic hostname. Do NOT use any URL-redirect type service for this. It will NOT work properly and is absolutely NOT needed. In the screenshot above, you should use DNS host (A), and NOT URL!

                        (And as already noted above, behind double NAT, port-forwarding on pfSense alone will do zilch and it still will not work. Get rid of the double NAT or forward this in both places.)

                        The reason I tried this whole web redirect was because what you're suggesting doesn't work. That's exactly how I had it configured to start with.

                        So…..http://webdav.ddns.net:5385:/webdavshare doesn't work.

                        And I'm not double Nating, everything is off on the modem, it's in bridge mode to my pfsense box.

                        1 Reply Last reply Reply Quote 0
                        • D
                          doktornotor Banned
                          last edited by

                          Yes. Because when your pfSense WAN IP is RFC1918 (192.168.1.16) then it won't work as noted above, multiple times. Go do some reading on double-NAT and bridging modems. You are messing with totally wrong stuff here.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jumbosausage
                            last edited by

                            webdav.ddns.net is setup with my public IP, I'm not double Nating. Everything is switched off on my modem and it's in bridge mode PPPoe with my pfsense box.

                            1 Reply Last reply Reply Quote 0
                            • D
                              doktornotor Banned
                              last edited by

                              @Jumbosausage:

                              And I'm not double Nating, everything is off on the modem, it's in bridge mode to my pfsense box.

                              You know, grab some WebDAV client that provides some logging and debugging output (no, Windows Explorer is NOT one) and produce some info here when testing from your WAN. And for the last time, the URL forwarding is complete BS. Also, the WebDAV server should have logs.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Jumbosausage
                                last edited by

                                It seems to be working now, I've made a few changes and I'm not sure at the minute which one resolved it but I can now access http://webdav.ddns.net:5385:/webdavshare from the WAN side.

                                I'll report back when I figure out what it was. Thanks for bearing with me! : )

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.