connect from internet
Hello,
I unsterstand how I can connect when I am on local network. I have also enable the option to access via internet, but although I set the public ip or the url I can't connect.
How can we connect without vpn using the public ip?
thanks
For security reason AVM does not provide this. For external access you have to use vpn.
is possible to use vpn directly from python and not from the server?
is there any guide / post how to implement a vpn connection and use your libary?
A VPN itself is not related with Python. May be that AVM has a guide to set up a VPN. In this case you should be able to access the box because a VPN-client is part of the internal network. At the fritzconnection docs there is no guide so far.
For security reason AVM does not provide this. For external access you have to use vpn.
Hi together,
I am not sure if this is true. I had the same question, asked the AVM development team and they said it should be possible:
Hallo Nickname,
um sich eine SID per login_sid.lua?version=2 aus dem WAN zu generieren, benötigt der FRITZ!Box-Benutzer das Internetrecht (=Zugriff aus dem Internet) und unter Internet->Freigaben->FRITZ!Box-Dienste muss "Internetzugriff auf die FRITZ!Box über HTTPS aktiviert" aktiviert sein. Empfehlung: FRITZ!Box Benutzer mit Username/PW anlegen. Weiterhin empfehlen wir (falls noch nicht geschehen): für diese FRITZ!Box ein MyFRITZ!Konto einrichten. Dann sollte ein Zugriff mit der MyFRITZ! Adresse funktionieren.
Mit freundlichen Grüßen/Best Regards Name Name Produktmanagement
AVM Computersysteme Vertriebs GmbH, Alt-Moabit 95, 10559 Berlin HRB 57000 AG Charlottenburg, Geschäftsführer: Jan Oetjen, Peter Faxel, Jan-Christian Werner
Von: Name An: [email protected] Datum: 02.10.2024 08:07 Betreff: Aw: Re[1]: Frage zum AHA-HTTP-Interface
Sehr geehrter Herr Name,
vielen Dank für Ihre Antwort.
Können Sie nochmal erklären, was ich an der FRITZ!Box ändern muss, damit ich auf die AHA-HTTP-Schnittstelle bspw. über den MyFritz-Dienst zugreifen kann? Reicht es dem User den Zugriff aus dem Internet zu ermöglichen?
Leider ist in den von Ihnen geschickten Dokumenten auch nur der Zugriff aus dem lokalen Netzwerk dokumentiert: https://fritz.box/login_sid.lua?version=2
Vielen Dank für Ihre Unterstützung & Beste Grüße
Nickname
Gesendet: Montag, 30. September 2024 um 15:09 Uhr Von: [email protected] An: Name Betreff: Re[1]: Frage zum AHA-HTTP-Interface Hallo nickname,
vielen Dank für Ihre Anfrage.
Wenn die Box über eine öffentlich erreichbare IP-Adresse verfügt ist der Zugriff auch von extern möglich. Besonders einfach ist der remote Zugriff z.B. über den Dyn-DNS-Dienst MyFRITZ! von AVM zu realisieren. Was aus API-Sicht zu beachten ist, finden Sie hier: https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/Empfehlungen%20zur%20Benutzerfu%CC%88hrung%20bei%20der%20Anmeldung%20an%20einer%20FRITZ%21Box_v1.1.pdf
Mit freundlichen Grüßen/Best Regards Name Name Produktmanagement
AVM Computersysteme Vertriebs GmbH, Alt-Moabit 95, 10559 Berlin HRB 57000 AG Charlottenburg, Geschäftsführer: Jan Oetjen, Peter Faxel, Jan-Christian Werner
Sure, accessing the TR-064 interface will only work over VPN. 😉
@kbr Thanks for this amazing Python library! I absolutely love it. Do you think we can also make it possible to access ones fritzbox's AHA-HTTP-interface with help of the myfritz-address? Thank you again for all your work. :heart:
I appreciate that you like the library, many thanks.
Currently the AHA interface makes use of the TR-064 session that has to be established first. So access from outside the local network is just possible by VPN. May be this could be a feature in one of the next versions if I find a non-breaking way to change this.