6 ms·
Just forward the port?
by wwn_se 5y ago
Just forward the port?
- marcodiego 5y agoI think that is only possible if a have control of the NAT/router, right?
- npteljes 5y agoUPnP has a protocol to handle that, but the router needs to support it and have it enabled.
- marcodiego 5y agoThat allows only outgoing connections, right? I there a way for me, behind a NAT, to pass an address for someone to connect to a port open on my machine?
- DarylZero 5y agoNo, UPnP is for forwarding ports for incoming connections. NAT itself is for outgoing connections.
- marcodiego 5y agoI think I understand what is proposed, but I wouldn't be too hopeful an ISP would allow that.
- DarylZero 5y agoIt's not up to the ISP. It's on your router. And most consumer home routers support it, or else a newer alternative like NAT-PMP, but you have to have to enable it in the router settings via web browser interface. (You can also, in these settings, manually forward individual ports, or use DMZ to forward all ports to a single machine.) Some ISPs don't even give you a real IPv4 address though (they use CGNAT). THEN you have no hope.
- marcodiego 5y ago> Some ISPs don't even give you a real IPv4 address though (they use CGNAT). THEN you have no hope. That is the case with most people I know: not even the router has a "real ip". Don't know how things have improved with ipv6 though. Also, in my country, best plans you can get take an optical fiber to your house directly connected to an ISP provided router. You're fully locked out of doing anything with the router except powering it.
- DarylZero 5y agoIf you have control of any IP address anywhere (doesn't have to be on your router), you can forward a port. If you don't have any control of an IP address, you cannot be connected to through software that is not "special" (i.e., software that only uses IP to connect). As a matter of logic.