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

    Issues with Subnet behind UDM Pro

    Scheduled Pinned Locked Moved OpenVPN
    57 Posts 5 Posters 13.0k 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.
    • M
      Misinthe
      last edited by

      Hello everyone, I am having a little issue with OpenVPN and I was hoping to get some help.

      How my network is set up is, from the WAN, it goes into my PfSense firewall, then that splits into my DMZ and the other goes into a UDM Pro, which creates my main LAN for everything in my house.

      On the Firewall, my networks are:
      LAN - 10.20.0.0/24
      DMZ - 10.30.0.0/24
      OpenVPN - 10.50.0.0/24

      On the UDM Pro, my networks are:
      WAN (From PfSense) - 10.20.0.0/24
      LAN - 10.10.0.0/24
      IoT - 10.10.10.0/24
      Guest - 10.10.40.0/24

      My issue is, when I use the OpenVPN, I can connect fine on the 10.50.0.0/24 and I can reach the 10.20.0.0/24 network, but I can't get past that into my 10.10.0.0/24 network to access my internal servers.
      I have tried adding rules into both the VPN and the UDMP firewalls but nothing seems to help.

      Any ideas would be appreciated!

      V ? 2 Replies Last reply Reply Quote 0
      • V
        viragomann @Misinthe
        last edited by

        @misinthe
        In addition to proper firewall rules on both devices, you need static routes on pfSense for the networks behind the UDM pointing to its WAN IP.

        Also consider to also allow the access from the VPN subnet on the destination servers firewall if running any.

        M 1 Reply Last reply Reply Quote 0
        • M
          Misinthe @viragomann
          last edited by

          @viragomann
          Thank you for your suggestion, it's taken me a couple of days to test all this, this is what I have so far and it is still not working.

          Gateways
          4455d619-9730-41cc-9c5b-b58bddcc64f4-image.png

          Static Routing
          5d486b7c-d8b1-4b3b-996d-c6fdcf098126-image.png

          LAN Rules
          3870e91a-0387-4188-b142-7a3f2fee0c94-image.png

          OpenVPN Rules
          24526483-ae00-4bb1-8cc9-550c9b2fcae4-image.png

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @Misinthe
            last edited by

            @misinthe
            As I mentioned, network devices may probably block access from outside their subnet. That is the default behavior.

            To investigate use the Ping tool on pfSense in the Diagnostic menu to ping a device behind the UDM. Try a ping with default settings, then change the source to OpenVPN and try again.

            ? M 2 Replies Last reply Reply Quote 0
            • ?
              A Former User @viragomann
              last edited by

              @viragomann said in Issues with Subnet behind UDM Pro:

              network devices may probably block access from outside their subnet.

              It is possible, but even so in your firewall rule you have nothing so I understand that this rule is not even running.

              On the other hand @Misinthe shows his openvpn configuration, this would help a lot.

              V M 2 Replies Last reply Reply Quote 0
              • V
                viragomann @A Former User
                last edited by viragomann

                @silence said in Issues with Subnet behind UDM Pro:

                but even so in your firewall rule you have nothing so I understand that this rule is not even running.

                So you say, allowing anything from any to any is not sufficient?
                What are you missing?

                @Misinthe
                BTW: You should modify the block DNS rule on LAN and change the protocol to TCP/UDP. DNS may possibly fallback to TCP.

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @viragomann
                  last edited by

                  @viragomann said in Issues with Subnet behind UDM Pro:

                  What are you missing?

                  320dd2de-5613-46f4-a0a4-60112ae6e0c6-image.png

                  I mean these rules all 0 / 0 !

                  V 1 Reply Last reply Reply Quote 0
                  • V
                    viragomann @A Former User
                    last edited by

                    @silence
                    Ahh, but we talking here about an issue of accessing the network behind the UDM from an OpenVPN client, which is connected to pfSense. So these rules are not relevant here.

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @viragomann
                      last edited by

                      @viragomann said in Issues with Subnet behind UDM Pro:

                      Ahh, but we talking here about an issue of accessing the network behind the UDM from an OpenVPN client, which is connected to pfSense. So these rules are not relevant here.

                      These rules point to ip as 10.20.50.0, it seems to me that they were confused, this must be placed in the configuration of their openvpn.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Misinthe @A Former User
                        last edited by

                        @silence said in Issues with Subnet behind UDM Pro:

                        @viragomann said in Issues with Subnet behind UDM Pro:

                        network devices may probably block access from outside their subnet.

                        It is possible, but even so in your firewall rule you have nothing so I understand that this rule is not even running.

                        On the other hand @Misinthe shows his openvpn configuration, this would help a lot.

                        Thank you, I modified it.

                        ? 1 Reply Last reply Reply Quote 0
                        • M
                          Misinthe @A Former User
                          last edited by

                          @silence said in Issues with Subnet behind UDM Pro:

                          @viragomann said in Issues with Subnet behind UDM Pro:

                          Ahh, but we talking here about an issue of accessing the network behind the UDM from an OpenVPN client, which is connected to pfSense. So these rules are not relevant here.

                          These rules point to ip as 10.20.50.0, it seems to me that they were confused, this must be placed in the configuration of their openvpn.

                          So those rules are not really being used right now because I haven't finished setting my Webhost up.

                          Only the OpenVPN points to 10.20.50.0, which is what I'm trying to make work, the other uses 10.30.0.50, which is a VM's IP on my DMZ host.

                          1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @Misinthe
                            last edited by

                            @misinthe said in Issues with Subnet behind UDM Pro:

                            Thank you, I modified it.

                            Do not forget to like the comment, which helped you solve your problem. Thank you

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              Misinthe @viragomann
                              last edited by

                              @viragomann

                              So, here are the results.

                              Default to Google
                              89e037c7-21b2-4303-8847-189f682aaf5c-image.png

                              Default to Lan Server
                              85f7aa73-6fbd-4cd5-a0f9-2c59eefafe23-image.png

                              OpenVPN to Google
                              31e03ee6-e82b-4717-8f15-69bf2960ca92-image.png

                              OpenVPN to Lan Server
                              828954aa-305f-49a2-b467-27e2d8054fb8-image.png

                              V 1 Reply Last reply Reply Quote 0
                              • M
                                Misinthe @A Former User
                                last edited by

                                @silence said in Issues with Subnet behind UDM Pro:

                                @misinthe said in Issues with Subnet behind UDM Pro:

                                Thank you, I modified it.

                                Do not forget to like the comment, which helped you solve your problem. Thank you

                                It didn't fix my issue, I just modified the rule in the DNS rule like you suggested.

                                ? 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @Misinthe
                                  last edited by

                                  @misinthe said in Issues with Subnet behind UDM Pro:

                                  It didn't fix my issue, I just modified the rule in the DNS rule like you suggested.

                                  Excellent, now we can go step by step: this server 10.10.0.5 what is it? and from it you can reach 8.8.8.8 ?

                                  ? M 2 Replies Last reply Reply Quote 0
                                  • ?
                                    A Former User @A Former User
                                    last edited by

                                    @Misinthe you lan server know how to get back to pfsense?

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Misinthe @A Former User
                                      last edited by

                                      @silence said in Issues with Subnet behind UDM Pro:

                                      @misinthe said in Issues with Subnet behind UDM Pro:

                                      It didn't fix my issue, I just modified the rule in the DNS rule like you suggested.

                                      Excellent, now we can go step by step: this server 10.10.0.5 what is it? and from it you can reach 8.8.8.8 ?

                                      This is my media server, Emby/Plex. And yes, everything on my 10.10.0.0/24 network can reach out to the internet, that's my home's main LAN.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Misinthe @A Former User
                                        last edited by Misinthe

                                        @silence said in Issues with Subnet behind UDM Pro:

                                        @Misinthe you lan server know how to get back to pfsense?

                                        What do you mean? All my networks use PfSense as DNS server, so pfBlockerNG can do it's thing.

                                        I'm starting to believe the UDMP might be the one blocking.

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @Misinthe
                                          last edited by

                                          @misinthe publish your openvpn configuration.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            Misinthe @A Former User
                                            last edited by

                                            @silence said in Issues with Subnet behind UDM Pro:

                                            @misinthe publish your openvpn configuration.

                                            Here you go

                                            4634800b-665f-42a1-b03d-b0185a24ac02-image.png

                                            c1b42f11-1242-4cb1-bae7-fc8d2979126e-image.png

                                            ee965190-3185-4ed4-a679-ea63e41ab863-image.png

                                            a7237966-8a9e-4aef-9ff4-9af9ce3ce947-image.png

                                            52ca60a1-ae59-4f83-95ef-b28f1ee4798f-image.png

                                            b500169a-1ab0-4b5f-8d5e-5d50e8c4c259-image.png

                                            0304202c-325c-4627-8e86-1fe3a9512c73-image.png

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