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

    unable to get firewall to route traffic

    Scheduled Pinned Locked Moved NAT
    52 Posts 5 Posters 4.2k 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.
    • Z
      zari90 @Gertjan
      last edited by

      @Gertjan so i'm trying to point jellyfin to the wan so that I can access it externally the NAS server has dual nic's not the windows 10 machines. so when I visit jellyfin.example.com it redirects to the server where the docker container resides, the windows 10 machines I'm just trying to do port forward with ports 31400, 31401

      Bob.DigB GertjanG 2 Replies Last reply Reply Quote 0
      • Bob.DigB
        Bob.Dig LAYER 8 @zari90
        last edited by Bob.Dig

        @zari90 Your network diagram isn't that good. Anyways, you have only one LAN on pfSense? And please remove all of the NAT rules (port forwards) other than the first two.
        Show them again and NAT Outbound.

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zari90 @Bob.Dig
          last edited by

          @Bob-Dig
          Apologies for the poor diagram I have one LAN currently yes 5b815cc7-0fb2-4ed9-9f2a-34e41245325a-image.png a066c720-f550-497f-8661-4fb7f5031f81-image.png

          Bob.DigB 1 Reply Last reply Reply Quote 1
          • GertjanG
            Gertjan @zari90
            last edited by Gertjan

            @zari90 said in unable to get firewall to route traffic:

            so i'm trying to point jellyfin to the wan

            Ah, ok, yeah, get it, but that's pretty broken behavior.
            WAN refection is .... burk.
            It's like calling your own phone number and wondering why the guy doesn't asnwer ... something like that.

            The clean and better way to do things :
            Use the LAN IP.
            You want to use host names ? That's ok.

            Go here and note down the domain name - or ask the admin :

            26a504cd-8ee0-4ad3-89e3-4e76f00eae72-image.png

            With this knowledge, create a host override here :

            d2055b77-3499-4852-bf19-cfc60a9d27cb-image.png

            and from now on you can use

            a_yellifin.your-pfsense-domain-name.tld
            

            from everywhere on your local networks instead of the IPv4.

            edit :
            and oh sh#t again :
            This :

            18650bda-5a32-4a10-b271-ed4486a35226-image.png

            means you Laptop (no network given !) is not on the LAN ? Another pfSense LAN ?

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

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

              @zari90 Good. You can't redirect DNS over TLS (DoT) so this can be removed too.

              You haven't showed your LAN rules right? It is probably a mess too. Reset the LAN rules to the two default allow any rules. And then we go step by step, you start with an easy task you decide and we will guide you. ;)

              Z 2 Replies Last reply Reply Quote 0
              • Z
                zari90 @Gertjan
                last edited by

                @Gertjan
                pfsense already in dns resolver as well as the other IPs it works internally just not externally, so its like someone call example.com but getting voicemail. the laptop is on dhcp on the same network dc01688f-1757-4169-b8ad-3b261960246e-image.png

                1 Reply Last reply Reply Quote 0
                • Z
                  zari90 @Bob.Dig
                  last edited by

                  @Bob-Dig
                  This is the current LAN rules
                  9dd75e3d-0445-4daf-8961-80bf47688ed3-image.png

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

                    @zari90 You can re-add the "LAN-subnets" to the IPv4 allow rule and remove the NAT rule for DoT. You said you only have one LAN but I do see VLANs. Also in your "diagram" there were no other LANs shown...

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      zari90 @Bob.Dig
                      last edited by

                      @Bob-Dig
                      We can start where ever, I would however like to get the port forward working can't find how to do that anywhere youtube etc... so port 31400, 31401

                      c63fb1a6-9578-4d05-a46a-ffd7cd364cb7-image.png 90e6a5e3-5968-448a-b3c2-1433b0d785de-image.png

                      Bob.DigB 1 Reply Last reply Reply Quote 0
                      • Z
                        zari90 @Bob.Dig
                        last edited by

                        @Bob-Dig
                        the vlans are just here but not in use yet no traffic passing through on that yet

                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          zari90 @zari90
                          last edited by

                          @zari90 05a52ac7-1cfe-4656-96be-6b3b282fe1fd-image.png 1f809631-7caf-4ba9-b31f-1eaad946cd9b-image.png

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

                            @zari90 said in unable to get firewall to route traffic:

                            so port 31400, 31401

                            Then create the NAT rule and show and explain it. Also we assume that your ISP allow unsolicited incoming connections, many don't these days. If you have a new ISP, you could be out of luck.

                            Z 1 Reply Last reply Reply Quote 0
                            • Z
                              zari90 @Bob.Dig
                              last edited by

                              @Bob-Dig
                              tested but the port is not open and I don't think my ISP blocks anything I have a dlink router that i replaced with this netgate and everything works fine just not very secure
                              bfe6e0e3-0278-496a-94d8-64829edc7bf9-image.png 99b2fa77-8023-4adf-88c4-7cff922faf07-image.png

                              M Bob.DigB 2 Replies Last reply Reply Quote 0
                              • M
                                MoonKnight @zari90
                                last edited by MoonKnight

                                @zari90

                                LAN address should be your server IP(pi-node IP)

                                0a09eedf-5e1d-4b16-b06b-c4821c2e0e4d-image.png

                                --- 24.11 ---
                                Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                                Kingston DDR4 2666MHz 16GB ECC
                                2 x HyperX Fury SSD 120GB (ZFS-mirror)
                                2 x Intel i210 (ports)
                                4 x Intel i350 (ports)

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

                                  @zari90 Whatever a pi-node is, it is not running on your pfSense LAN-address. If it is running on your Windows-machine, use the IP-address of that machine instead.

                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z
                                    zari90 @Bob.Dig
                                    last edited by

                                    @Bob-Dig

                                    its on dhcp though so the windows 10 machine will pick up a new IP when it restarts i've changed it now to a static IPbb6b250e-48f5-4f82-beda-63c4faf7fc41-image.png cded8f02-70cf-4b81-a580-67ffa273ec3d-image.png not working either

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

                                      @zari90 said in unable to get firewall to route traffic:

                                      not working either

                                      Show the WAN rules now, we want to look at the "states".

                                      Z 1 Reply Last reply Reply Quote 0
                                      • Z
                                        zari90 @Bob.Dig
                                        last edited by

                                        @Bob-Dig
                                        8ce5bb1b-e3c3-4a9c-9ddf-c052a21452d3-image.png removed rules earlier to start fresh

                                        Bob.DigB M GertjanG 3 Replies Last reply Reply Quote 0
                                        • Bob.DigB
                                          Bob.Dig LAYER 8 @zari90
                                          last edited by Bob.Dig

                                          @zari90 If you create a NAT-Rule, there should be placed a rule on WAN for you. So something is not right. Remove the NAT rule and create it again, then look if the WAN rule was created. If not, you are doing something wrong.

                                          Z 1 Reply Last reply Reply Quote 0
                                          • M
                                            MoonKnight @zari90
                                            last edited by

                                            @zari90
                                            In your NAT rule, make sure you have it like this.

                                            7e6405fe-9e8f-4f55-a866-ecfdd70d735e-image.png

                                            --- 24.11 ---
                                            Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
                                            Kingston DDR4 2666MHz 16GB ECC
                                            2 x HyperX Fury SSD 120GB (ZFS-mirror)
                                            2 x Intel i210 (ports)
                                            4 x Intel i350 (ports)

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