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

    pfsense port forwarding/ WAN Default deny rule IPv4 (1000000103)

    Scheduled Pinned Locked Moved NAT
    40 Posts 5 Posters 4.4k 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.
    • L
      learn
      last edited by

      Hi guys I have a pfsense behind a modem and i try to do port forwarding for a remote machine i do all the nat port forwarding configuration but i can't access the machine and in the firewall log i see that the address is getting blocked by a default rule of ipv4 any help please!

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @learn
        last edited by Bob.Dig

        @learn If this is local then you also have to enable pure-NAT NAT-reflection in that Port Forward.

        L 1 Reply Last reply Reply Quote 0
        • L
          learn @Bob.Dig
          last edited by

          @bob-dig yes im trying to open a port for remote machine in the lan

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @learn
            last edited by

            @learn Then show pictures of the rules, port forward and log.

            L 1 Reply Last reply Reply Quote 0
            • L
              learn @Bob.Dig
              last edited by

              @bob-dig 984f3933-0823-460f-b95a-932e1c7bb444-image.png

              dba4af60-bade-4e4c-b73e-45820af43e84-image.png

              85ae96bd-8ffa-4ccf-af21-66fe6ccc6d54-image.png this what it shows in the logs

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @learn
                last edited by

                @learn Picture of the firewall rule still missing.

                L 1 Reply Last reply Reply Quote 0
                • L
                  learn @Bob.Dig
                  last edited by

                  @bob-dig sorry
                  651eda89-5459-47b1-80f7-b400ef58008a-image.png

                  Bob.DigB 1 Reply Last reply Reply Quote 0
                  • Bob.DigB
                    Bob.Dig LAYER 8 @learn
                    last edited by

                    @learn Looking good so far so problem must be somewhere else, specific to your environment.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      learn @Bob.Dig
                      last edited by

                      @bob-dig said in pfsense port forwarding/ WAN Default deny rule IPv4 (1000000103):

                      specific to your environment.

                      suchh as ?

                      please help !

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

                        @learn so is default deny your seeing actually to the port your trying to forward? You just show a deny, you don't so that port udp or tcp even that is being blocked.

                        From your firewall rule showing 0/0 B tells me that rule has never been evaluated. So no traffic has hit your wan that would match your port forward and firewall rule.

                        rule.jpg

                        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

                        L 1 Reply Last reply Reply Quote 0
                        • L
                          learn @johnpoz
                          last edited by

                          @johnpoz im trying to do a remote access so im using tcp with a custom port instead of 3389

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

                            @learn again you rule not showing any hits.

                            Here I setup a rule for port 6060, never going to work because my 192.168.9.100 forwarding too not listening on that port

                            hit.jpg

                            But notice when I try and go there (from can you see me . org), that after my rule shows it was evaluated, its no longer 0/0 B, but shows that it was used in the states table.

                            Your deny actually shows to your wan IP on the 6060 port your trying to access.. via TCP? You didn't show the full log, you just show "something" was denied..

                            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

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              learn @johnpoz
                              last edited by

                              @johnpoz i tried differnt ports even the deafult port and did a diagnostic test port ff273697-5fcc-4952-982e-ed6275052e06-image.png it shows the port is good but still not able to access

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

                                @learn that is just a local test not remote..

                                Again - your rules is not showing any traffic actually hit it, that 0/0 B in the states column shows that pfsense saw no traffic to that port.

                                What was actually logged as blocked.. You just show a deny.. Here would be an actual block

                                Here is a log showing a block, see it is too my wan IP, I blocked out last 2 octets of my public IP.. But see there is the port is was going to, and that its TCP, and a SYN.

                                deny.jpg

                                From your wan rule showing that 0/0 B shows that nothing has hit your public IP on that port to be forwarded. Or the numbers would change from 0/0 even if the port forward didn't actually work.

                                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

                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  learn @johnpoz
                                  last edited by

                                  @johnpoz Untitled1.png here what t shows in my log

                                  Bob.DigB 1 Reply Last reply Reply Quote 0
                                  • Bob.DigB
                                    Bob.Dig LAYER 8 @learn
                                    last edited by Bob.Dig

                                    @learn 3389 ain't 6060.

                                    L 1 Reply Last reply Reply Quote 0
                                    • L
                                      learn @Bob.Dig
                                      last edited by

                                      @bob-dig i changed to do port testing but none worked

                                      Bob.DigB 1 Reply Last reply Reply Quote 0
                                      • Bob.DigB
                                        Bob.Dig LAYER 8 @learn
                                        last edited by Bob.Dig

                                        @learn But it is important to test so test again towards 6060 and show the log and don't hide the beginning of those IPs!

                                        L 1 Reply Last reply Reply Quote 0
                                        • L
                                          learn @Bob.Dig
                                          last edited by

                                          @bob-dig did what you said it it the same result!

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            learn @learn
                                            last edited by

                                            @learn does pfblockerng and openvpn can block portforwarding? im lost here

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