News for hackers. Stuff that matters.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by misnome on Thursday January 13, 2022 @06:03AM (#29919343)
Apparently you only _need_ to forward 45000~65535: https://www.reddit.com/r/NintendoSwitch/comments/6qjhjy/i_ha...

I went through this when setting up the switch to talk to someone behind heavy NAT over the holidays. 45000+ worked for me.

....which makes this even more ridiculous if it never uses them.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by Someone on Thursday January 13, 2022 @06:30AM (#29919531)
_only_? That’s, give or take, ⅓ of the full range. If everything in your network did something similar, you couldn’t have more than 3 devices in your network (and with 3, the stars would have to align for there to be no overlap between the ranges. If, for example, your tv needs 15000-35000, the largest contiguous range remaining would have about 15000 ports.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by nolok on Thursday January 13, 2022 @07:30AM (#29920044)
Try getting ~10 years old uplay game to work and despair. Not sure what network engine they used at the time but there is an entire set of games that basically can't connect properly without using random ports anywhere in the 10k/60k range, it's ridiculous.

And let's not ever talk about two people in the same home playing the same game together. I loved splinter cell blacklist's multiplayer but damn did it take long to get anything connected.

I'm not even sure why I mean this was with internet gaming already being the norm, I assume it's because they made games for console and then ported, and on console port issue are handled for them or whatever ? Anyway this was stupid

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by auto on Thursday January 13, 2022 @10:20AM (#29921643)
"And let's not ever talk about two people in the same home playing the same game together."

This is my fiance and I constantly struggling with Halo:MCC. At least once a night one of us fails to join a game, and I'm convinced it's some poor NAT punch through solution that doesn't always work.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by letitbeirie on Thursday January 13, 2022 @01:42PM (#29924783)
Ever wanted to relive the past by playing Red Alert 2?

Get ready to relive the past by brushing up on the particulars of the IPX protocol...

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by the_mitsuhiko on Thursday January 13, 2022 @06:06AM (#29919361)
That makes it worse. That means this is not actually a mistake in the documentation. JFC. Does it not support UPnP?
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by Macha on Thursday January 13, 2022 @06:12AM (#29919410)
It does, these docs are for people for whom upnp has failed.

The wide port range I think is Nintendo throwing their hands in the air and not actually knowing what ports third party switch software uses

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by the_mitsuhiko on Thursday January 13, 2022 @06:28AM (#29919521)
If it supports UPnP why do the docs not say: turn on UPnP? If you search for UPnP in the docs, you get exactly zero results back.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by Macha on Thursday January 13, 2022 @07:27AM (#29920018)
I don't think anybody here (including me) claims these are _good_ docs.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by the_mitsuhiko on Thursday January 13, 2022 @08:03AM (#29920303)
Is there any evidence that the Switch supports UPnP? Because some quick googling did not suggest it does.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by TingPing on Friday January 14, 2022 @01:05AM (#29931113)
My router has never seen the switch use upnp.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by SkyPuncher on Thursday January 13, 2022 @12:08PM (#29923339)
IMO, because they're trying to keep it simple.

Most readers of HN will understand (or at least understand the goal of) the checklist for debugging network issues.

Skipping straight to Port Forwarding eliminates any issues on whether UPnP is actually working correctly. Growing up, some of my friends had routers struggled to handle UPnP correctly. If I knew they were the only one needing port forwarding, I'd simply turn that on for them instead of trying to figure out if UPnP was actually working correctly.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by cat199 on Thursday January 13, 2022 @07:14AM (#29919904)
> not actually knowing what ports third party switch software

more than likely i'd think this is for enabling inbound responses to outbound ephemeral ports given the port range

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by Macha on Thursday January 13, 2022 @07:29AM (#29920041)
Even a restricted NAT should allow for this without explicit port forwarding configuration?

Unless you're doing something like active FTP where it's replying to a different port than the one the request originated from. Which would be a interesting choice for a console designed in like 2018.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by laumars on Thursday January 13, 2022 @08:18AM (#29920413)
It’s a firewall thing not a batting thing. You need a stateful firewall to do that kind of smart port forwarding. Which, to be fair, all consumer routers should have.

Stateless firewalls, however, need to have explicit rules for UDP traffic. So that’s what Nintendo are addressing here.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by fulafel on Thursday January 13, 2022 @12:26PM (#29923643)
NAT functionality especially for UDP can be incredibly flaky in a lot of consumer hardware, mangling payloads, randomly dropping associations or having extremely short timeouts, and other plain buggy behaviour.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by Hamuko on Thursday January 13, 2022 @12:09PM (#29923351)
I think even their first-party games use random ports.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by loup-vaillant on Thursday January 13, 2022 @08:30AM (#29920518)
Probably because of this: https://duckduckgo.com/?t=ffab&q=UPnP

Among the 4 first links, 3 explicitly tell me that UPnP is dangerous.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by the_mitsuhiko on Thursday January 13, 2022 @10:22AM (#29921676)
UPnP is significantly less dangerous than forwarding all UDP ports to a single device.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by yardstick on Thursday January 13, 2022 @08:45AM (#29920653)
Came here to say this. UPnP is a security vulnerability, not a feature.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by solarkraft on Thursday January 13, 2022 @09:54AM (#29921350)
Worse than forwarding all ports?
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by yardstick on Thursday January 13, 2022 @11:13AM (#29922360)
Neither is an acceptable solution.

Although I will say that if you are forwarding all ports, at least it’s to a device you know about. Not some random IoT or PC software or whatever opening up ports without your knowledge.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by criddell on Thursday January 13, 2022 @08:48AM (#29920687)
Who has UPnP enabled anymore?
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by JAlexoid on Thursday January 13, 2022 @11:32AM (#29922702)
My Verizon Router resets and defaults to it.

(Oh.... and it resets randomly...)

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by criddell on Thursday January 13, 2022 @11:37AM (#29922811)
My AT&T router (Arris) doesn't even have that setting.

https://forums.att.com/conversations/att-internet-features/h...

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by thescriptkiddie on Thursday January 13, 2022 @06:22PM (#29928438)
This is made doubly frustrating by the fact that AT&T does not allow you to use your own router.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by criddell on Friday January 14, 2022 @09:13AM (#29934590)
You can put your own router behind the AT&T gateway and then tell the gateway it's a DMZ.

AT&T does a lot to make me angry, but removing uPnP is the right call IMHO.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by thescriptkiddie on Friday January 14, 2022 @11:56AM (#29936915)
Using DMZ doesn't completely solve my problem, the AT&T gateway is still routing every packet (at less than line speed) and randomly dropping some of them.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by bin_bash on Thursday January 13, 2022 @09:56AM (#29921365)
is this maybe to get around a double NAT problem? I'm not sure how UPnP works with double NAT
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by kelnos on Thursday January 13, 2022 @12:15PM (#29923439)
UPnP is a security risk (as is forwarding all UDP ports to a single device). Nintendo should set up STUN servers so the Switch can do UDP hole punching.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by WolfRazu on Friday January 14, 2022 @05:47AM (#29932885)
How is hole punching more secure than UPnP? They both achieve exactly the same thing.
Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by kelnos on Saturday January 15, 2022 @02:13AM (#29944383)
Enabling UPnP on your router enables a malicious app to permanently forward ports from the outside to the inside. The malicious app could also forward ports to other devices on your network. For example, installing a bit of malware on your laptop could set up a port forwarding rule from the internet to your NAS's web interface.

UDP hole punching via STUN requires continuous work on the part of a malicious app to keep that port open. Work that could be noticed much easier than a rogue UPnP-using bit of malware. And it can't open ports to other devices on your network.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by brynx97 on Thursday January 13, 2022 @09:25AM (#29921028)
That user has pfSense, and they are doing it wrong. I would follow the config and guidance from the pfSense dev on this one: https://forum.netgate.com/topic/112631/nintendo-switch-needs...

The most common problem I have seen over and over is double NAT or CGNAT. For the home networks I manage (my parents, in-laws, and my own), I put the ISP modems in bridge mode or passthrough mode.

Re:How to Set Up a Router's Port Forwarding for a Nintendo S... by bin_bash on Thursday January 13, 2022 @10:12AM (#29921566)
The linux kernel uses 32768-60999 for ephemeral ports so you've really cut into them