Przed napisaniem, że się nie da, polecam sprawdzić https://www.youtube.com/watch?v=vnYxevtQuzw, gdzie można używając od 38 minuty filmu
W skrócie chodzi o funkcjonalności NAT-a operatorskiego, żeby otworzyć port na świat:
Endpoint independent mapping (EIM)
Endpoint independent filtering (EIF)
Port Control Protocol (PCP)
UPnP interworking
Cześć, większość operatorów używa CG-NAT wg. adresacji "Reserved IPv4 Prefix for Shared Address Space" - RFC 6598.
Jak otworzyć port na świat? Z tego co mi wiadomo, powinno się użyć PCP Port Control Protocol, ale jak to powinno wyglądać pod Linuxem czy innym Unixem?
Cytując Wikipedię:
Co do PCP, to jest coś tam napisane na Wikipedii, że jest support pod OpenWRT, ale nic konkretnego, tak jakby program upnpc, czyli "upnpc - miniupnpc library test client", miałby to wspierać PCP, ale dla mnie chyba to normalne, że dostaję komunikat:
Bo nie mam Internet Gateway Device (UPnP IGD) u siebie włączonego, a z tego co mi wiadomo, serwer UPnP IGD nazywa się miniupnpd. Tutaj to już nie wiem, jakbym miał to skonfigurować pod pppd.
Próbowałem bez skutku, otwierałem port:
TCP i UDP 1900 Simple Service Discovery Protocol (SSDP), discovery of UPnP devices
TCP i UDP 5351 NAT Port Mapping Protocol and Port Control Protocol client-requested configuration for connections through network address translators and firewalls
W skrócie chodzi o funkcjonalności NAT-a operatorskiego, żeby otworzyć port na świat:
Endpoint independent mapping (EIM)
Endpoint independent filtering (EIF)
Port Control Protocol (PCP)
UPnP interworking
Cześć, większość operatorów używa CG-NAT wg. adresacji "Reserved IPv4 Prefix for Shared Address Space" - RFC 6598.
Jak otworzyć port na świat? Z tego co mi wiadomo, powinno się użyć PCP Port Control Protocol, ale jak to powinno wyglądać pod Linuxem czy innym Unixem?
Cytując Wikipedię:
Cytat:
Carrier-grade NAT usually prevents the ISP customers from using port forwarding, because the network address translation (NAT) is usually implemented by mapping ports of the NAT devices in the network to other ports in the external interface. This is done so the router will be able to map the responses to the correct device; w carrier-grade NAT networks, nawet though the router at the consumer end might be configured for port forwarding, the "master router" of the ISP, which runs the CGN, will block to port forwarding, because the actual port would not be the port configured by the consumer.[7]
In order to overcome the former disadvantage, the Port Control Protocol (PCP) has been standardized in the RFC 6887.
Co do PCP, to jest coś tam napisane na Wikipedii, że jest support pod OpenWRT, ale nic konkretnego, tak jakby program upnpc, czyli "upnpc - miniupnpc library test client", miałby to wspierać PCP, ale dla mnie chyba to normalne, że dostaję komunikat:
No IGD UPnP Device found on the network !Bo nie mam Internet Gateway Device (UPnP IGD) u siebie włączonego, a z tego co mi wiadomo, serwer UPnP IGD nazywa się miniupnpd. Tutaj to już nie wiem, jakbym miał to skonfigurować pod pppd.
Próbowałem bez skutku, otwierałem port:
TCP i UDP 1900 Simple Service Discovery Protocol (SSDP), discovery of UPnP devices
TCP i UDP 5351 NAT Port Mapping Protocol and Port Control Protocol client-requested configuration for connections through network address translators and firewalls