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

    Pfsense + PS4 + Multiplayer - Disconnect within 5 min - UPNP+AON set

    Scheduled Pinned Locked Moved Gaming
    8 Posts 7 Posters 4.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.
    • C
      codydearkland
      last edited by

      I've really been trying to resist posting this - because i'm big on reading documentation and trying to figure it out on my own, but im absolutely stumped.

      I've rebuilt my pfSense, and tried every configuration i could find/read. I've been looking for a few weeks now - and still not able to solve this problem. So, swallowing pride, putting on flame retardant gear and begging for some help. If someone solves this for me, there may be a Paypal involved for a 6 pack on me :)

      I've went through and configured the AON settings as indicated in the screenshots below, i've enabled UPNP as well. I'm using pfSense virtualized within VSphere on Intel dual port NIC's (one port for WAN one port going to LAN)

      Packet traces end up showing nothing for my PS4's destination. For context purposes - i've tried both on Wifi and LAN with the same results. on Wifi the IP address is 192.168.1.109 and on LAN its 192.168.1.142.



      1 Reply Last reply Reply Quote 0
      • C
        codydearkland
        last edited by

        I've also now tried 2.2 just to see if maybe whatever is causing it is fixed in the Alpha build - no dice.

        Someone help me…I need an adult :(

        1 Reply Last reply Reply Quote 0
        • DaReaLDeviLD
          DaReaLDeviL
          last edited by

          Hi,

          remove your 192.168.1.142… do the static port on the 192.168.1.0

          If this fails there may be one more thing. But first try this plz.

          VM PFSense 2.4.3 (amd64) on Dell PowerEdge T410
          Xeon E5620 @ 2.40GHz 2 CPUs: 4GB Ram: 60GB Disk
          ISP (MNet) 1xModem (Vigor 130) 1xWan, 3xLan (PFSense)

          1 Reply Last reply Reply Quote 0
          • T
            Tikimotel
            last edited by

            Can you post the "User specified permissions 1-4" of the upnp config page?

            My setup:
            User specified permissions 1 = NAS
            User specified permissions 2 = Consoles (hence the 192.168.0.80/29)
            User specified permissions 3 = Rest of the LAN devices

            All I have setup differently is, I have ISAKMP (port 500) in the AON rules and I allow only 1024:65535 for the local rule.
            (auto rules somehow don't work for me, after so many upgrades 1.2.3 – 2.1.5, can't be bothered with clean install)

            UPNP_rules.PNG
            UPNP_rules.PNG_thumb
            Outboundrules.PNG
            Outboundrules.PNG_thumb

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

              The current PS4 firmware might have issues with Upnp:

              http://www.playstationlifestyle.net/2014/02/08/possible-ps4-firmware-upnp-bug-and-workaround/

              1 Reply Last reply Reply Quote 0
              • C
                cardboardbrobot
                last edited by

                So I've been scratching my head on how to get this to work. I've followed the guide and I would get a NAT2 on the PS4 but unfortunately I cannot connect to any online games. These are my settings as followed and I am on Pfsense 2.2 with Hybrid on.

                Mappings.

                Interface Source     Source Port Destination Destination Port NAT Address NAT Port Static Port
                WAN GameConsoles * * * WAN address * YES
                VPN1 10.11.1.0/24 * * * VPN1 address * NO

                *Game consoles is an alias for my IP's for the consoles (xbox one and ps4)

                Automatic rules:

                Interface Source Source Port Destination Destination Port NAT Address NAT Port Static Port Description
                        WAN 127.0.0.0/8 10.11.1.0/24 10.10.21.0/30 * * 500 xxx.xxx.xxx * YES Auto created rule           
                        WAN 127.0.0.0/8 10.11.1.0/24 10.10.21.0/30 * * * xxx.xxx.xxx * NO

                Any suggestions?

                1 Reply Last reply Reply Quote 0
                • W
                  WinterFoxWolf
                  last edited by

                  Hi,

                  i am using my ps4 without interface and just with static ip.

                  In UPnP i just checked "Allow UPnP Port Mapping" and "By default deny access to UPnP & NAT-PMP?".

                  With user specified permission:

                  allow 88-65535 your.ps4.ip/24 88-65535

                  additionally i use a Traffic Shaper in PRIQ and it works like a charm

                  i hope this may help you

                  1 Reply Last reply Reply Quote 0
                  • R
                    rudger_wolvram
                    last edited by

                    I don't know how much this will help (XBox guy here) but I actually had better luck with making a manual NAT rule to encompass the UPnP rules.

                    for example, UPnP user spec permissions Allow X-Y192.168.1.142/32 X-Y
                    Then setting up a NAT rule that is the same for X-Y. But place it towards the bottom of the rule set so higher more specific rules that fall within that range will work.

                    I'm not sure how PS4 handles teredo or if it even uses it. but I noticed in your UPnP status that .109 has 3074 and your PS4 got 3075. Generally a good implementation can use any UPnP port, but you may try forcing the PS4 into getting 3074 instead of 3075 and seeing how that works for you. Since you didn't specify what kind of device .109 is, I can only assume it's more configurable than a PS4 on what ports it uses. This is just my wild stab in the dark at PS4, but I fouight multi XBox Open NAT problems for about a week and a half before getting something that worked.

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