I'm a beginner with networking, specifically linux networking, I have a question that I'll split into 2 parts :
- If I have an x number of hops inside the same subnet ( namely 192.168.1.x ) and my goal is to have the #y port open for both UDP and TCP, I have to open ports / manage the NAT on all the routing devices or just the first and last device of interest ?
- what if I have the same problem about keeping ports opened but the modem is on one subnet ( 192.168.1.x ) and the device is on a different subnet ( 192.168.2.x ) ?
I'm using anything from linux 2.6 to 4.x on this devices .
Thanks for your help .