Buonasera e spero di essere nella sezione giusta.
Ho configurato un server LAMP (Linux, Apache, MySQL, PHP) sul Raspberry Pi 3 model B e ho installato wordpress. Tutto funziona ma io seguo una guida per fare il port forwarding e installo miniupnpc.
la guida dice
upnpc : miniupnpc library test client. (c) 2005-2014 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
desc: http://192.168.1.254:5000/rootDesc.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
desc: http://192.168.1.254:49152/qEF1SLIgcM/wps_device.xml
st: upnp:rootdevice
desc: http://192.168.1.254:5000/rootDesc.xml
st: upnp:rootdevice
desc: http://192.168.1.254:41952/no_nonce_string/
st: upnp:rootdevice
Found valid IGD : http://192.168.1.254:5000/
Local LAN ip address : 192.168.1.220
Connection Type : IP_Routed
Status : Connected, uptime=1041026s, LastConnectionError : ERROR_NONE
Time started : Mon Mar 25 18:17:16 2019
MaxBitRateDown : 0 bps MaxBitRateUp 0 bps
ExternalIPAddress = 10.153.173.14
Bytes: Sent: 1370099222 Recv: 1848266725
Packets: Sent: 13818702 Recv: 32241634
upnpc : miniupnpc library test client. (c) 2005-2014 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
desc: http://192.168.1.254:5000/rootDesc.xml
st: urn:schemas-upnp-org:device:InternetGatewayDevice:1
desc: http://192.168.1.254:49152/qEF1SLIgcM/wps_device.xml
st: upnp:rootdevice
desc: http://192.168.1.254:5000/rootDesc.xml
st: upnp:rootdevice
desc: http://192.168.1.254:41952/no_nonce_string/
st: upnp:rootdevice
Found valid IGD : http://192.168.1.254:5000/
Local LAN ip address : 192.168.1.220
ExternalIPAddress = 10.153.173.14
AddPortMapping(80, 80, 192.168.1.220) failed with code 718 (ConflictInMappingEntry)
GetSpecificPortMappingEntry() failed with code 714 (NoSuchEntryInArray)
non so più cosa fare è da tutto il giorno che riprovo
Se non ho capito male, stai provando ad inoltrare il traffico da una macchina (con indirizzo IP 192.168.1.254) al raspberry, giusto?
Se così, controlla il file miniupnpc.conf; cerca la voce secure_mode e settala su no, altrimenti viene impedito il port forwarding su un IP diverso da quello locale.
"Let me tell you a secret: when you hear that the machine is “smart”, what it actually means is that it’s exploitable." Mikko Hypponen
L'indirizzo che finisce con 254 è il gateway (indirizzo del modem) mentre l'IP del Raspberry è 192.168.1.220. Appena posso provo il tuo consiglio, grazie mille per la risposta.
Scusa ignora il messaggio di prima allora l'indirizzo IP esterno è 10.153.173.14 e da LAN riesco ad accederci. Ho configurato manualmente il port mapping. Dalla rete esterna non riesco
Fastweb, ho letto in giro che sia obbligatorio richiedere IP pubblico per aprire le porte e che gli IP pubblici iniziano con 2 mentre quelli Fastweb iniziano con 10
Inserendo un messaggio, dichiari di aver letto e accettato il regolamento di partecipazione.
Nello specifico, sei consapevole che ti stai assumendo personalmente la totale responsabilità delle tue affermazioni, anche in sede civile e/o penale,
manlevando i gestori di questo sito da ogni coinvolgimento e/o pretesa di rivalsa.
Dichiari inoltre di essere consapevole che il messaggio sarà visibile pubblicamente, accetti di diffonderlo con licenza
CC BY-NC-SA 3.0 (con attribuzione a "TurboLab.it") e rinunci ad ogni forma di compensazione (economica o altro).
Rinunci inoltre esplicitamente a qualsiasi pretesa di cancellazione del messaggio.