Telekom APN für statische IPv4 im Mobilfunk-Netz Anwendungen sind zB.: -MultiSIM HotSpot für Solar Kameras -IoT-Geräte -etc... ______________________________________________________________________________________________________ ANLEITUNG: https://www.imakeyouintelligent.com/static-ip-adresse-via-lte-und-telekom-apn-fernwartung-via-dyndns/ Nach etwas recherche bin ich dann auf einen APN der Telekom gestoßen der weder NATtet noch eine interne IP vergibt. Er wirbt mit einer Statischen IPv4/v6 nach Einrichtung des APN: ===> "Internet.t-d1.de" // Ohne User und Passwort (nur IPv4) <=== // "internet.telekom" // (Dualstack IPv4/v6, NAT) // "internet.v6.telekom" // (nur v6, NAT, http Translation) // "festip.telekom" // (öffentliche feste IPv6, nur für Business-Tarife) ______________________________________________________________________________________________________ Schritt 1: Im LTE-Router das folgende Telekom-APN Profil einrichten. ####################################### ############# APN-Profil ############## ####################################### # # # PDP-Type: "IPv4v6" oder nur "IPv4" # # Profil-Name: "Telekom-Static-IPv4" # # APN: "Internet.t-d1.de" # # Authentication: "NONE" # # User-Name: "" # # Password: "" # ####################################### Schritt 2: Verbindung testen, sprich einfach mit dem Mobilfunk-Netz verbinden. Schritt 3: Im LTE-Router den/die gewünschten Port/s für ein verbundenes Gerät öffnen. z.B. für ZTE-LTE-Router: Current Port Mapping Rules in System ________________________________________________________________________________________ |Src. Port | Dest. IP Address | Dest. Port | Protocol | Comment | |_______________________________________________________________________________________| | 8081 | 192.168.0.249 | 80 | TCP+UDP | TestPort | |_______________________________________________________________________________________| (Src. Port = Source Port = Externer über die DynDNS/ext.-IP erreichbarer Port) (Dest. Port = Destination Port = Interner/Lokaler Port des *-Servers) ______________________________________________________________________________________________________ IONOS-DynDNS einrichten für eigene domain https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/dynamisches-dns-ddns-einrichten-bei-company-name/ IONOS-API set DynDNS to Public-IPv4 adress with curl-command: curl -X GET e.g.: curl -X GET https://ipv4.api.hosting.ionos.com/dns/v1/dyndns?q=Y2I0NjI5YjRkZWQ1NGZkY2EwNTE4M2JlZTNiNWNhZjQuVTQzYzg5TkgtcnJUSEtfYmpjc3MzaXFIek40dWtDVmhKQld2RUhnbTVVNFRTb0thT3gzaDU3ejFLRk5qcXBoVU0yREVNVDdBVC1qeTRSbWtjaENRX3c ______________________________________________________________________________________________________ Crontab zum updaten erstellen https://www.bennetrichter.de/tools/crontab-generator/ sudo crontab -e # Ausführung alle 15 Minuten (24/7) */15 * * * * curl -X GET https://ipv4.api.hosting.ionos.com/dns/v1/dyndns?q=Y2I0NjI5YjRkZWQ1NGZkY2EwNTE4M2JlZTNiNWNhZjQuVTQzYzg5TkgtcnJUSEtfYmpjc3MzaXFIek40dWtDVmhKQld2RUhnbTVVNFRTb0thT3gzaDU3ejFLRk5qcXBoVU0yREVNVDdBVC1qeTRSbWtjaENRX3c > /dev/null 2>&1 Zusatz-Infos & Legende: - Mode: If a fixed APN is provided by your service provider, select Manual APN. Otherwise, please select Auto APN, and the device will automatically obtain parameters. - Profile: It contains one or more profile names. - PDP Type: IPv4/IPv6/IPv4&IPv6. - Profile Name: It refers to the name that you assign to the new profile. - APN: Access Point Name. The APN contains 0-9 a-z A-Z . - and it can't start with and end with .or -. - Authentication: It is provided by your Internet Service Provider(ISP).Password Authentication Protocol (PAP) provides a simple method without encryption for the peer to establish its identity using a 2-way handshake. Challenge-Handshake Authentication Protocol (CHAP) is used to periodically verify the identity of the peer using a 3-way handshake. - User Name: User name is used to obtain authentication from the ISP when the connection is established. - Password: Password is used to obtain authentication from the ISP when the connection is established.