this post was submitted on 17 Jul 2024
9 points (100.0% liked)

homelab

6701 readers
29 users here now

founded 4 years ago
MODERATORS
 

I am hosting a couple of services (Matrix chat server and a game server). I know NAT's job is to translate external requests into internal addresses, so that the traffic can hit the WAN and ultimately make it to the internal service which is expected to handle the traffic, however I'm wondering if my setup is correct.

Everything is working as expected, but I'm just wondering how the traffic knows which service to go to. If an outside requests comes in, is it just the destination port that is used to route to the correct internal IP? Do I need to do something else here for best practices?

you are viewing a single comment's thread
view the rest of the comments
[–] root 1 points 5 months ago

Got it, thanks so much for the explanation!