Change Ryujinx's firewall ruling request to also setup Outbound rules for P2P #639

Closed
opened 2025-02-08 07:58:26 +00:00 by FluffyOMC · 0 comments
FluffyOMC commented 2025-02-08 07:58:26 +00:00 (Migrated from github.com)

Overview

Currently, Ryujinx only requests Inbound firewall rules for TCP and UDP, allowing it to receive P2P connections.
However, Ryujinx does NOT request Outbound firewall rules for TCP and UDP, making it fail to create a P2P connection on a port.
I manually added a Outbound rule for Ryujinx and instead of getting this:
00:01:48.041 |W| HLE.OsThread.9 ServiceLdn ConfigureAccessPoint: Failed to open a port with UPnP for P2P connection. Proxying through the master server instead. Expect higher latency.
I got this:
00:25:37.873 |I| HLE.OsThread.9 ServiceLdn ConfigureAccessPoint: Created a wireless P2P network on port 39990.
Which shows an outbound rule DOES help with P2P connectivity.

Smaller details

Should be in the same spot that Ryujinx requests Inbound ruling.

Nature of request

To help reduce latency and connectivity issues with LDN

Why would this feature be useful?

As P2P connections don't really require a server, latency will be reduced as users will have a more direct connection to each other, helping in more competitive games like SSBU.

### Overview Currently, Ryujinx only requests Inbound firewall rules for TCP and UDP, allowing it to receive P2P connections. However, Ryujinx does NOT request Outbound firewall rules for TCP and UDP, making it fail to create a P2P connection on a port. I manually added a Outbound rule for Ryujinx and instead of getting this: `00:01:48.041 |W| HLE.OsThread.9 ServiceLdn ConfigureAccessPoint: Failed to open a port with UPnP for P2P connection. Proxying through the master server instead. Expect higher latency.` I got this: `00:25:37.873 |I| HLE.OsThread.9 ServiceLdn ConfigureAccessPoint: Created a wireless P2P network on port 39990.` Which shows an outbound rule DOES help with P2P connectivity. ### Smaller details Should be in the same spot that Ryujinx requests Inbound ruling. ### Nature of request To help reduce latency and connectivity issues with LDN ### Why would this feature be useful? As P2P connections don't really require a server, latency will be reduced as users will have a more direct connection to each other, helping in more competitive games like SSBU.
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#639
No description provided.