• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 748 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 Feb 13, 2023, 10:10 AM

    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

    G B J 3 Replies Last reply Feb 13, 2023, 10:58 AM Reply Quote 0
    • G
      Gertjan @dfsense
      last edited by Feb 13, 2023, 10:58 AM

      @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 Feb 13, 2023, 2:02 PM Reply Quote 0
      • F
        fireodo
        last edited by Feb 13, 2023, 1:06 PM

        @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.

        G 1 Reply Last reply Feb 13, 2023, 1:48 PM Reply Quote 0
        • B
          bmeeks @dfsense
          last edited by bmeeks Feb 13, 2023, 1:50 PM Feb 13, 2023, 1:45 PM

          @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
          • G
            Gertjan @fireodo
            last edited by Feb 13, 2023, 1:48 PM

            @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
            • J
              johnpoz LAYER 8 Global Moderator @dfsense
              last edited by Feb 13, 2023, 2:00 PM

              @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 Feb 13, 2023, 2:02 PM

                @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!

                J 1 Reply Last reply Feb 13, 2023, 2:06 PM Reply Quote 1
                • J
                  johnpoz LAYER 8 Global Moderator @SteveITS
                  last edited by Feb 13, 2023, 2:06 PM

                  @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 Feb 14, 2023, 9:03 AM

                    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

                    J 1 Reply Last reply Feb 14, 2023, 11:22 AM Reply Quote 0
                    • J
                      johnpoz LAYER 8 Global Moderator @dfsense
                      last edited by Feb 14, 2023, 11:22 AM

                      @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
                      10 out of 10
                      • First post
                        10/10
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received