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

    Port forward plex

    Firewalling
    4
    25
    2.6k
    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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      where are your wan rules?

      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
        sakn1954
        last edited by

        here are the rules

        ![Screenshot (24).png](/public/imported_attachments/1/Screenshot (24).png)
        ![Screenshot (24).png_thumb](/public/imported_attachments/1/Screenshot (24).png_thumb)
        ![Screenshot (25).png](/public/imported_attachments/1/Screenshot (25).png)
        ![Screenshot (25).png_thumb](/public/imported_attachments/1/Screenshot (25).png_thumb)
        ![Screenshot (26).png](/public/imported_attachments/1/Screenshot (26).png)
        ![Screenshot (26).png_thumb](/public/imported_attachments/1/Screenshot (26).png_thumb)

        1 Reply Last reply Reply Quote 0
        • S
          sakn1954
          last edited by

          2 more screens

          ![Screenshot (27).png](/public/imported_attachments/1/Screenshot (27).png)
          ![Screenshot (27).png_thumb](/public/imported_attachments/1/Screenshot (27).png_thumb)
          ![Screenshot (28).png](/public/imported_attachments/1/Screenshot (28).png)
          ![Screenshot (28).png_thumb](/public/imported_attachments/1/Screenshot (28).png_thumb)

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

            What?  Dude show me your wan rules… Like this!

            wanrules.png
            wanrules.png_thumb

            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
              sakn1954
              last edited by

              I hope this is it

              ![Screenshot (29).png](/public/imported_attachments/1/Screenshot (29).png)
              ![Screenshot (29).png_thumb](/public/imported_attachments/1/Screenshot (29).png_thumb)

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

                Why in the world do you have an ANY ANY rule on your wan???  Remove that!!!

                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
                  sakn1954
                  last edited by

                  sorry, don't understand. Do I remove any from the rule and what do i replace with. Can you please show me an example

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

                    Dude Delete the ANY ANY rule you have on the top - Why would you have that??

                    delete.png
                    delete.png_thumb

                    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
                      sakn1954
                      last edited by

                      deleted it, but still no access outside of network for custom, Sophia has no problem. Can,t figure this one.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sakn1954
                        last edited by

                        Does the ATT 5268AC router modem have anything to do with this. I am using dmz to the pfsense router, and the pfsense to a switch.

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

                          Lets see your port forward tab..

                          If can you see me org shows that it can not talk to your plex then no it will not work… So you need to go through the troubleshooting guide I linked too and figure out why.

                          First step is to make sure the traffic even gets to pfsense, simple package capture on wan interface while you run your can you see me org test.

                          If that is there, then packet capture on the lan interface - does pfsense send the traffic on?  If so then the problem lays with the plex box.  Maybe its not actually listening on 32400, maybe there is a firewall, maybe it doesn't point back to pfsense as its gateway? etc..

                          It really should take only a couple of minutes to determine where the problem is.

                          So I added a port forward for 45500 to my plex box on 34200... I then go to can you see me..  Run the test, while I repeat this test I sniff on both the wan interface and the lan interface.

                          As you can see in my case even on the wan sniff I can see replies..  But lets assume it didn't show any responses but I did see the traffic to my wan IP on port 45500, I would then sniff on the interface the server I am forwarding to on (lan in my case) and see if pfsense send on the data to 192.168.9.10 - which it does in my case.  But lets say I didn't see any response from 192.168.9.10.. If that is the case then it SCREAMS something wrong on that box.

                          Be it wrong IP for plex, firewall on the plex box.  Plex not listening on that port, etc.  If you do not see pfsense sending to 192.168.9.10 in my case.  Maybe there is no machine on that IP?  And pfsense can not arp for it - can you ping that IP from pfsense? etc..

                          Pretty much every possible scenario is gone over in the troubleshooting doc..  If you have questions on how to do something specific in that doc then please ask.  But the attached walks you through very simple method of traffic down where the problem is.  First thing to always validate is the traffic actually gets to pfsense.

                          Hope that helps..  If you want - if this is confusing.. Later today we could do a teamviewer and I could take a look remotely.

                          simpleportforwardcheck.png
                          simpleportforwardcheck.png_thumb

                          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
                          • M
                            MoonKnight
                            last edited by

                            @johnpoz
                            I'm just curious, in you firewall rules, WAN.You have one rule at the bottom. You call it "Clean Block" Do you like to share the settings you have inside that rule?

                            Thanks in advance!

                            --- 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
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              Its just there so I only log SYN… I don't care to see the UDP noise and any sort of out of state block.  So I turn off logging of the default block, and then only log SYN packets..

                              Just set the SYN tcp flag is all in the advanced option.. This removes all the nonsense UDP noise and out of state nonsense that really don't care to see... But I am curious to what is the common ports being hit.. 3389, 22, 23, 1433, you know the typical ones.  But for example when that worm on the Mikrotik botnet was becoming popular saw a lot of port 8291 which was interesting..

                              Still see that 8291 now and thing - just looked saw a hit back on 15th ;)

                              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
                              • M
                                MoonKnight
                                last edited by

                                @johnpoz:

                                Its just there so I only log SYN… I don't care to see the UDP noise and any sort of out of state block.  So I turn off logging of the default block, and then only log SYN packets..

                                Just set the SYN tcp flag is all in the advanced option.. This removes all the nonsense UDP noise and out of state nonsense that really don't care to see... But I am curious to what is the common ports being hit.. 3389, 22, 23, 1433, you know the typical ones.  But for example when that worm on the Mikrotik botnet was becoming popular saw a lot of port 8291 which was interesting..

                                Still see that 8291 now and thing - just looked saw a hit back on 15th ;)

                                Thank you very much. I didn't think about this. Great idea to show if some shit is going on and more easy to read, instead of using "Log firewall default blocks"(to much noise) Yeah, i can see some of the ports you mentioned now in my log  :o :)

                                Little bit off topic, sorry :)

                                --- 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
                                • S
                                  sakn1954
                                  last edited by

                                  I want to thank you very much, after all the headaches it was something stupid on my end. I decided to log into my freenas which runs my customplugin server, and there it was the plex plugin was off. Could not turn it on, so I rebooted and the plex plugin strted again and now everything is working. Thank you for all your help in this matter. I now a little more on port forwards,and firewall rules thanks to you.

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

                                    And don't forget you removed the any any rule that basically opened up your web gui to the world - so anyone on the planet might of guessed your pfsense username and password or sshed to it, etc. etc..

                                    Why did you create the any any rule on your wan?

                                    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.