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

    Default deny rule IPv4 (1000000103) blocking MS RDP connection

    Scheduled Pinned Locked Moved Firewalling
    10 Posts 6 Posters 750 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.
    • D
      dfsense
      last edited by

      How do I stop PFsense from blocking an LAN RDP connection? I can't find an option to edit the Default deny rule IPv4. I tried adding rule to allow traffic for RDP but it's not working.

      Screenshot_20230213_120624.png Screenshot_20230213_120551.png Screenshot_20230213_120416.png

      GertjanG bmeeksB johnpozJ 3 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @dfsense
        last edited by

        @dfsense

        There is a .255. in that IP address.
        Check with that device, and change it to anything else.

        Also, MSRDP, wasn't that using (also) 'UDP' ?

        I agree, your Allow all IPv4 /16 rule should permit all LAN IPv4 traffic.

        Btw : you can't edit the final 'block all rule'.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        S 1 Reply Last reply Reply Quote 0
        • fireodoF
          fireodo
          last edited by

          @gertjan said in Default deny rule IPv4 (1000000103) blocking MS RDP connection:

          There is a .255. in that IP address.

          Why is this a problem? (it is not at the end of the IP) Just asking :-)

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.7.2 CE
          Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

          GertjanG 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks @dfsense
            last edited by bmeeks

            @dfsense said in Default deny rule IPv4 (1000000103) blocking MS RDP connection:

            How do I stop PFsense from blocking an LAN RDP connection? I can't find an option to edit the Default deny rule IPv4. I tried adding rule to allow traffic for RDP but it's not working.

            Screenshot_20230213_120624.png Screenshot_20230213_120551.png Screenshot_20230213_120416.png

            Which IP range is your LAN? Is that 192.168.23.180 device actually in the IP subnet defined on your LAN? If not, then you need to put the PASS rule for RDP traffic on the interface where that host's subnet lives.

            In pfSense, you put firewall rules on the interface where traffic "enters" the firewall from the wire. So if you have an interface whose subnet is defined as 192.168.1.0/24, you would never put a rule there that said this:

            192.168.4.23 --> some-other-host

            because nothing with a source IP of 192.168.4.23 would be a "legal" host in that 192.168.1.0/24 subnet. You would instead put the PASS rule on the firewall rules tab for the 192.168.4.0/24 network.

            To summarize -- I believe you may have your RDP pass rule defined on the wrong interface. It needs to go on the interface where the 192.168.23.0 network is defined.

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan @fireodo
              last edited by

              @fireodo said in Default deny rule IPv4 (1000000103) blocking MS RDP connection:

              @gertjan said in Default deny rule IPv4 (1000000103) blocking MS RDP connection:

              There is a .255. in that IP address.

              Why is this a problem? (it is not at the end of the IP) Just asking :-)

              True.
              I made a 'better safe then sorry' reflection.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 1
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @dfsense
                last edited by

                @dfsense those blocks are all Acks (A)... that points to out of state traffic..

                https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Galactic Empire @Gertjan
                  last edited by

                  @gertjan

                  MSRDP, wasn't that using (also) 'UDP'

                  It was TCP originally. UDP was added a few years ago. My experience (us and a couple clients) on Windows 10 is using UDP results in random hangs, where a disconnect/reconnect is necessary. For the last year Windows 11 seems to not have that issue, though we haven’t enabled UDP again on Windows 10. UDP is not required.

                  Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                  Upvote 👍 helpful posts!

                  johnpozJ 1 Reply Last reply Reply Quote 1
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @SteveITS
                    last edited by

                    @steveits doesn't really matter if using tcp or udp here. His rule below that easy rule is an any so either would be allowed. But the issue I see in his logs are those blocks are out of state blocks. They are not blocking SYN, they are blocking Acks.. If they were blocking syn that would mean his rules do not allow the traffic, blocking anything other than syn only points to reason for the block is lack of a state.

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                    1 Reply Last reply Reply Quote 0
                    • D
                      dfsense
                      last edited by

                      Hi all,

                      Just wanted to report that the issue has been resolved. Someone recommended adding a static route in Windows command prompt. I don't know much about networking so I'm not sure how it worked. Thank you for the responses on this.

                      route add 192.168.0.0 mask 255.255.0.0 192.168.23.1 -p

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @dfsense
                        last edited by

                        @dfsense Well that is wrong solution to a self inflicted issue.. Is pfsense not the default gateway to these devices?

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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