I've got some confusion about port forwarding vs NAT. I know the problems NAT causes for P2P, and that there exist some solutions to it (STUN
,TURN
,etc) which require a relay server to setup direct connections between the peers.
Is port forwarding an alternative to STUN
/TURN
regarding the NAT problem? Can two peers behind NAT who have both port forwarded connect with TCP to each other directly?
For example I want to develop an app and I'd rather not have to have a server sitting 24/7 to relay connections, but instead having peers maybe do port forwarding and then they can speak to each other directly.