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

    Firewalling/NAT/Port Problem?

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 5 Posters 972 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      There's a massive amount of information there. I think we wil need some specific examples of what's not working.

      You have everything relatively locked down, you are filteri8ng outbound ports. Does everything work as expected on an interface that just allows all traffic?

      It is generally preferred to use block then pass rules rather than pass with inverted match which can sometimes overmatch.

      Some of those port forwards are conflicting. In some interfaces you are forwarding all DNS traffic on port 53 to localhost port 5335 which I assume is the port you have DNSMasq running on? Below that you are forwarding all DNS traffic not using the interface IP to Unbound on localhost but not traffic will ever hit that because of the first rule.

      Steve

      1 Reply Last reply Reply Quote 1
      • charles_moodyC
        charles_moody
        last edited by charles_moody

        Thank you Stephen for getting back to me.

        To get started

        • Netflix did work only on browsers (https/443) but not on any other device, each one did note there's a vpn/proxy in between
        • The same goes for Amazon Prime

        Yesterday I tried to uncheck 'Don't pull routes' on the OpenVPN and everything went to hell, reverted it, rebooted the pfSense and devices are back online, but none can access netflix (neither on browsers [DNS_PROBE_FINISHED_NXDOMAIN] even after flushing dns-caches and resetting the adapter)

        Another sympton is that Windows(10) shows me the 'No Internet' symbol in the taskbar, even if it can connect to the internet and other programs (such as Avira/Malwarebytes/Adobe) find automatic updates

        • Spotify (W10 App) won't work therefor^ (stating it's offline)
        • Spotify on Android does work

        So tried your first suggestion, connected to the LAN interface but still no connection to netflix(443) possible.
        DNS lookup worked, ping'ing didn't

        One difference on this interface is that W10 will show the 'Connected' internet symbol

        Rules LAN interface
        pfs-0.PNG

        W10 Troubleshooter: DNS Server not responding
        pfs-1.PNG

        DNS Lookup
        pfs-3.PNG

        Ping
        pfs-2.PNG

        5335 is the port DNSMasq runs on; In which manner should/could I change/rearrange those rules to get another result?

        Huge thanks again!

        Greetings from Italy,
        Max

        1 Reply Last reply Reply Quote 0
        • AKEGECA
          AKEGEC
          last edited by

          @charles_moody, I see the problem, it is in your LAN egress rules. Change your protocol, source and destination to ANY. See if Netflix, Amazon and Spotify work.

          If not, it could be corrupted. Make a backup of your Pfsense configs. Then reset Pfsense to factory setting (don’t keep any settings).
          Make a simple LAN outgoing rule protocol, source and destination to ANY. If it works, then restore your backup configs.

          charles_moodyC 1 Reply Last reply Reply Quote 0
          • charles_moodyC
            charles_moody @AKEGEC
            last edited by

            @AKEGEC I did change the Protocol and Source on the rule 'LAN: Allow ANY <> ANY'reloaded the filter, rebooted, but no change (still can't ping netflix)

            This is driving me insane as I'm not even able to ping netflix anymore.

            I'm going nuts, thinking to maybe backup my current config, and start from scratch with some simpler rulesets.

            Does anyone has some ideas before I'm taking this step?

            Kind regards
            Max

            Bob.DigB 1 Reply Last reply Reply Quote 0
            • AKEGECA
              AKEGEC
              last edited by

              @charles_moody, No need for any frustration. I am still here with you while watching Netflix 😆
              Just take things one step at the time and you will learn to love challenges (like online banking) ;)

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

                @charles_moody I tried it too and I also can't ping this address. So they probably don't like to get pinged and turned it off.

                PING netflix.com (34.241.244.104) from 192.168.0.2: 56 data bytes
                
                --- netflix.com ping statistics ---
                3 packets transmitted, 0 packets received, 100.0% packet loss
                
                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Yeah, netflix.com (or www.netflix.com) does not necessarily respond to ping so that's not a good test. You can just try opening a TCP connection to it instead either from the pfSense gui in Diag > Test Port or using telnet fro the client. That's obviously a very basic test. And tests from pfSense will not be policy routed.

                  The problem you have here is that Netflix (along with most other streaming services) spends a small fortune on technologies to prevent you connecting over a VPN into a different geographical market. So if you are trying to do that and it fails that's not surprising.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • AKEGECA
                    AKEGEC
                    last edited by

                    @charles_moody, I strongly suggest that you reinstall and set up the rules from scratch. And save configs before every big changes you make.
                    Download Pfsense 2.4.5-p1, the old file is around 380MB while the new one around 382MB (patched). So I guess Netgate does listen and cares about users' complaints.

                    1 Reply Last reply Reply Quote 0
                    • charles_moodyC
                      charles_moody
                      last edited by

                      Re: Firewalling/NAT/Port Problem?

                      Thanks you all for your input!

                      As written I followed this tutorial and like @stephenw10 noticed, everything is locked down so much that even the simplest services don't work reliably, if at all. /

                      I learend a lot but didn't understand enough to troubleshoot nor resolve the issues, so yeah @AKEGEC I'll back up the current setting and start from scratch.

                      As pfsense stands for security, I check the hash of the dowloaded-file

                      Will setup everything on a vm and then push it to my hardware-instance; found a tutorial-set from 'Lawrence Systems' and another user-post about express-vpn and netflix.

                      Thanks again!

                      cheers

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

                        @charles_moody said in Firewalling/NAT/Port Problem?:

                        As pfsense stands for security, I check the hash of the dowloaded-file

                        https://www.pfsense.org/download/ will do fine - it's https - and if you trust the device on which you receive the file, all is ok.

                        @charles_moody said in Firewalling/NAT/Port Problem?:

                        this tutorial ... VM .....

                        What about a bare bone 'ancient' 1 $ (vey old) PC, a an extra NIC (3 $ ?) and you have the perfect - for the money - setup. Adding a "VM" is already and more advanced thing.

                        Tutorials : See here. Why using other people's advice if you can learn from the guy who actually wrote it ? ;)

                        A first install is a straight type-and-then-click-through. When it runs and you feel comfortable, which comes very fast because setting up pfSense using default settings is .... easy, you can add features one - and take the time to test/try/debug/ by one.

                        Things as "security" are as good as the knowledge of the admin. pfSense is not some AI device that will call you if something is good or wrong. I's a router/firewall, as there are billions on earth. With (to ?) many option, as you will see.

                        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 0
                        • charles_moodyC
                          charles_moody
                          last edited by charles_moody

                          @Gertjan I already have everything in place

                          Intel(R) Atom(TM) CPU E3845 @ 1.91GHz
                          8GB RAM and 4 Intel NICS

                          rack.jpg

                          I know how to set this box up, done that quite a few times to get the desired results; I then followed the guide I posted because of "Things as "security" are as good as the knowledge of the admin", and my knowledge in Network is limited, so I thought to follow a top-post I found on Reddit.

                          As I can't troubleshoot due to limited knowledge, I'll follow your guide and learn along the way.

                          After installing 1400m of CAT6a, 5 new PoE APs, IoT, security and several servers I badly want this network to behave the way I want.

                          Let's see where this journey is leading 👽

                          cheers

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