It depends.
According to Section 4.3 of RFC 4787 , the UDP timeout for NAT must be at least 2 minutes (180 seconds), with the exception of selected, known ports. In practice, however, routers typically use less timeouts. For example, OpenWRT 14.07 uses a timeout of just 60 seconds.
TCP , TCP- FIN/FIN-ACK. TCP- 5 RFC 5382 - 2 4 (7204 ), OpenWRT 7440 .
NAT , ( ). A NAT B, A B - C NAT A. ( NAT, , .)