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

    i cannot for love nor money get port 2302 and 27015 open please help

    Scheduled Pinned Locked Moved NAT
    40 Posts 4 Posters 5.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      So that is a test from 192.168.1.1 (pfsense) you need to validate it is coming from OUTSIDE!!!!

      Do that packet capture when you go to canyouseeme and run their test..

      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.8, 24.11

      1 Reply Last reply Reply Quote 0
      • M
        matt211
        last edited by

        Screenshot_4.png

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          OK good, packets are hitting your WAN. Now like John said, trace the same thing but on LAN and see if the packets are being forwarded to your server.

          M 1 Reply Last reply Reply Quote 0
          • M
            matt211 @KOM
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M
              matt211
              last edited by matt211

              Screenshot_5.png @KOM

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                It looks like it's getting through. Now, I did a quick check and it seems that nobody knows for sure which protocol and ports Dayz uses. You have tcp2302 and 27025, but I've read of others talking about udp2302-2305 and other higher port ranges.

                Is there a definitive spec on what this game really needs for network access? Your NAT might be perfect but it doesn't work because you've got the wrong ports defined.

                1 Reply Last reply Reply Quote 0
                • M
                  matt211
                  last edited by

                  i pretty much went off what i was told to open to run the server, but i can try the ports you suggested too

                  1 Reply Last reply Reply Quote 0
                  • KOMK
                    KOM
                    last edited by

                    Don't listen to me; I have no idea. All I am saying is that your NATs look good and seem to work for how they are defined. Someone on Reddit was saying that your server won't show up in the community browser unless you also forward the Steam Query port 27016, but they didn't say if that was tcp or udp.

                    In other words, you need to do some detective work to confirm what Dayz actually needs. The developer's page is total crap and their wiki is empty. So helpful of them.

                    Good luck.

                    1 Reply Last reply Reply Quote 0
                    • M
                      matt211
                      last edited by

                      ok dude ill have a look and see what i can find, thank you both for all your help <3

                      1 Reply Last reply Reply Quote 0
                      • KOMK
                        KOM
                        last edited by

                        That would certainly explain why you had it configured properly but it still wasn't working.

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

                          I would also validate that the 192.168 box isn't sending back RST! ;)

                          Have it show more detail in your packet capture, or download them and open them with wireshark.

                          But yeah getting some games to work can be painful since they don't document their shit work anything... I mean really how hard is to say these ports are need unsolicated inbound tcp and or udp, etc..

                          And these ports are needed outbound from the client..

                          They just say these ports are needed.. BS the game doesn't need 80 and 53 inbound, etc. etc..

                          A trick you can sometimes do is just fire up UPnP and run your game - and see what it opens... Then you can shut down UPnP and just open the port it had opened with UPnP..

                          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.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • M
                            matt211
                            last edited by

                            ill give that a go too dude, just had a little look and most people are saying ports 2302 - 2306 udp/tcp

                            1 Reply Last reply Reply Quote 0
                            • M
                              matt211
                              last edited by

                              ok so i had a brainwave and decided to do a packet captuer filtering for the ip and port when i was connecting to a dayz server i play on to see if it was udp or tcpScreenshot_6.png

                              1 Reply Last reply Reply Quote 0
                              • KOMK
                                KOM
                                last edited by

                                While you can sometimes derive the info you need through what's essentially reverse-engineering, it would be better to get a real specification as to what this game needs.

                                This page talks about 2302 and 2305 but doesn't say if tcp or udp.

                                https://community.bistudio.com/wiki/DayZ:Server_Configuration

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

                                  Well that server you connecting to is running on 2402

                                  What does that have to do with inbound to you?

                                  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.8, 24.11

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

                                    This :

                                    @matt211 said in i cannot for love nor money get port 2302 and 27015 open please help:

                                    Port Checker - http://prntscr.com/nm56um

                                    implies that the TCP test runs from pfSense to some device on your LAN, your game server.
                                    pfSense can't connect to it ..., the 192.138.1.118 device refuses connections from your pfSense, probably 192.168.1.1.

                                    In that case, its normal that your NAT rule won't work neither : the server doesn't reply.
                                    Make your game server answering to requests.

                                    Example : I test my Synology NAS on my LAN :

                                    5effb218-df54-4262-b2d6-58e74be443ba-image.png

                                    Port 80 on my Syno is open for connections, so the result was Ok.

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

                                      ok so i set my network back to original setup, using the virginmedia super hub 3 only and forwaded ports 2302, 2305 and 27015 and now my server shows up to community so it is deffinaly a probem with the pfsense port forward

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

                                        @matt211 said in i cannot for love nor money get port 2302 and 27015 open please help:

                                        2302, 2305 and 27015 and now my server shows up to community so it is deffinaly a probem with the pfsense port forward

                                        Dude have already been over this... the link to troubleshooting port forwards... Does your super hub have UPnP enabled?

                                        Do a sniff of this traffic lets see only these ports only inbound 2302 and 27015 and 2305... Is that UDP or TCP or both?

                                        You showed a sniff that 2302 being forwarded, etc. etc..

                                        Here is what I can tell you - in the 10+ years have been here.. Every port forward thread, and there have been plenty has always come down down to PEBKAC!!

                                        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.8, 24.11

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          matt211
                                          last edited by

                                          @johnpoz the vorgin hub does not use upnp while in modem mode, from what i can find out anyway, there is no option to change anything in modem mode other than to switch back to router mode

                                          i have been through everything on this page https://docs.netgate.com/pfsense/en/latest/nat/port-forward-troubleshooting.html

                                          and it is still not working

                                          im using udp/tcp as thats what was suggested and that option also worked when i was running with the superhub only

                                          ill post pics of sniffed ports 2302, 2305, 27015 and i also tried from my phone to sniff the port and still said error

                                          Screenshot_1.png

                                          60410051_385437885514641_2287979145012969472_n.jpg

                                          edit2.png

                                          edit3.png

                                          edit.png

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

                                            And you can see an answer was sent... So open up that packet capture in say wireshark.. Maybe your game sent back a RST... What was the sniff on your lan side - did you send it on to your game box? local IP? If so then the port forward is working!!!

                                            We have already gone over how to troubleshoot this - it takes 2 minutes to do..

                                            Here is the thing that test can only test TCP... If its UDP you can not test... So what is it udp or tcp? if you created the firewall rules... Then sniff when you run you run your game on both your wan and lan - do you see inbound traffic on those ports? Do they get forwarded?

                                            As went over already - turn on UPnP on pfsense - what does it show your game is asking to be opened... Does it work then, etc.

                                            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.8, 24.11

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