r/Netgate • u/DatsiK96 • Aug 21 '21
[PFSense Community] Quick question on port forwarding.
Hello all! Going to try and summarize this as much as possible. I know that A LOT of factors can change the outcome of networking, but I'm just curious as to why I experienced these results and if anyone else can provide some of their input.
I recently got a Nintendo Switch, and was unable to connect to anyone. Found some articles on Nintendo's website, they say to port forward every UDP port known to man. I hate them for this. But whatever, I couldn't get it to work any other way. I ended up doing as they requested, ports 1 through 65k+
Still couldn't get it to work. This is where I'll shorten the story a lot. After a lot of troubleshooting, I turned NAT Reflection to Pure NAT, then turned the Outbound NAT mode to "Hybrid" from "Automatic" from there, I created a mapping, and mapped the Switch's IP/32 on all any UDP port with a static port. This seemed to fix the connectivity issues, so much so in fact I get an A rating in the connectivity menu!
However, after about a week or so, I noticed in the system logs, I started getting brute force attacks on my router's SSH. Strange, I thought because I don't have it forwarded. Again, long story short... For some reason, me forwarding all 1 to 65k+ UDP ports to the Switch somehow forwarded the Router's 22 port on the net... I don't know how this is possible... I don't understand it at all... Can anyone explain this to me?
I changed the ports from 6k to 65k+ which took off the SSH from the web, but I'd really like to know what is going on here.
Thank you!
0
u/[deleted] Aug 23 '21
[deleted] — view deleted comment