Softcloud Wiki
Linux, Raspberry Pi, YunoHost, RaspAP
Recherche
Accueil
Linux
Raspberry Pi
YunoHost
RaspAP
Explorateur
Rechercher
Connexion
Accueil
Explorateur
Ajouter un article
Accueil
Softcloud Wiki
Contribuer
Edition de l'article
Dynamic DNS
Les champs marqués * sont obligatoires !
Paramètres
* Contenu
Fermer
Insérer un lien vers un article
Titre de l'article
1
2
3
4
5
Pour insérer un lien vers un article veuillez utiliser la balise link : [link=$a]$b[/link] où $a représente le titre de l'article (sans caractères spéciaux, tel qu'il apparaît dans l'adresse) et $b représente le nom du lien
Couleur du texte
Couleur du fond
Taille du texte
Choisir la taille du texte (px)
Aperçu du texte
Police d'écriture
Andale Mono
Arial
Arial Black
Book Antiqua
Comic Sans MS
Courier New
Georgia
Helvetica
Impact
Symbol
Tahoma
Terminal
Times New Roman
Trebuchet MS
Verdana
Webdings
Wingdings
Alignement
Aligner à gauche
Insérer
Centrer
Insérer
Aligner à droite
Insérer
Justifier
Insérer
Positionnement
Flottant à gauche
Insérer
Flottant à droite
Insérer
Indentation
Insérer
Exposant
Insérer
Indice
Insérer
Titrage
Titre 1
Insérer
Titre 2
Insérer
Titre 3
Insérer
Titre 4
Insérer
Titre 5
Insérer
Liste
Nombre de lignes
Liste ordonnée
Sélectionner
Tableau
Nombre de lignes
Nombre de colonnes
Entête
Sélectionner
Conteneur
Paragraphe
Insérer
Bloc
Insérer
Conteneur personnalisable
Choisir
Bloc champs
Choisir
Abréviation
Choisir
Conteneur personnalisable
Ces critères nécessitent la connaissance des langages HTML/CSS et les propriétés du thème utilisé.
Identifiant
Classes
Style
Bloc champs
Titre du bloc champs
Style
Abréviation
Abréviation
Nom complet
Citation
Auteur de la citation
Citation
Contenu Caché
Cacher le contenu et l'afficher au clic
Insérer
Cacher le contenu aux visiteurs
Insérer
Cacher la fin du contenu aux visiteurs
Insérer
Cacher le contenu aux membres
Insérer
Style
Remarque
Insérer
Question
Insérer
Succès
Insérer
Avertissement
Insérer
Erreur
Insérer
Lien
Adresse du lien
Texte du lien
Adresse email
Adresse email
Texte de la balise
Lien wikipedia
Mot
Définir une langue dans le lien
Sinon
fr
est ajouté automatiquement
Sélectionner
Langue
Allemand
Anglais
Arabe
Arménien
Azéri
Basque
Bélarusse
Bulgare
Catalan
Cebuano
Chinois
Croate
Danois
Espagnol
Espéranto
Estonien
Finlandais
Français
Galicien
Géorgien
Grec
Hebreu
Hindi
Hollandais
Hongrois
Indonésien
Italien
Japonais
Kazakh
Koréen
Lituanien
Malais
Norvegien (nn)
Norvegien (no)
Ourdou
Persan
Polonais
Portugais
Roumain
Russe
Serbo-Croate
Slovaque
Slovène
Serbe
Suédois
Tchétchène
Tchèque
Thai
Turc
Ukrainien
Vietnamien
Winaray
Flux RSS
Nom du module
Choisir un module
Wiki
Catégorie
Nombre d'éléments à afficher
Ancre vers un endroit de la page
Nom de l'ancre
Ajouter le lien vers l'ancre
Sélectionner
Son
Adresse du fichier audio
Vidéo
Adresse de la vidéo
Hébergeur
Fichier distant
Youtube
Dailymotion
Vimeo
Largeur de la vidéo
Hauteur de la vidéo
Ajouter une vignette
Ajouter une image avec un effet lightbox
Adresse de l'image
Largeur max de la vignette (px)
Ajouter une image avec description
Adresse de l'image
Texte alternatif
Description de l'image
Largeur max de l'image (px)
Smileys
Emojis HTML
D'autres emojis sur
unicode-table.com
ou
w3c.com
Smileys
😀
😉
😁
😆
😅
😂
🤣
😊
🙂
😄
🙃
😇
😃
😚
🥰
😙
😍
😗
🥲
😘
🤩
😋
😛
😜
🤪
😝
🤑
🤔
🤭
🤗
🤫
😐
😶
🤨
😬
😏
😑
😒
🙄
🤐
🤥
😌
😔
😪
😴
🤤
🥶
🤧
😷
🤯
🥴
😵
🤒
🥵
🤮
🤕
🤢
🥸
🤠
🥳
🤓
😎
🧐
😕
😖
😧
🥺
😫
😱
😞
😯
😮
😭
😟
😓
😩
😢
😲
😨
🥱
😳
🙁
😥
😣
😦
😰
☠
😤
😈
😡
💀
👿
🤬
😠
💩
🤡
🤖
👽
👾
👻
👺
👹
🙉
🙊
🙋
🗨
💭
💬
💢
💥
💣
💯
💨
💦
💫
💤
👀
💪
🧡
🤎
🤍
🖤
💚
💙
💜
💛
💋
💔
💘
💖
💝
✋
👋
🖖
🖐
🤙
🤞
🤟
🤘
👌
🤌
🤏
👆
👇
👈
👉
🤛
🤜
👍
✊
👊
👎
👐
🤝
👏
🤲
🙏
🙌
Icônes Font Awesome
[fa=fa-style,fa-option]nom de l'icône (sans le "fa-")[/fa]
Code
Chemin vers un fichier
Langage
Text
Sql
Xml
BBCode
Template
HTML
CSS
Javascript
PHP
Asp
Python
Pearl
Ruby
Bash
C
C++
C#
D
Go
Java
Pascal++
Delphi
Fortran
Vb
Asm
Afficher sur une seule ligne
Sélectionner
[img]https://user-images.githubusercontent.com/229399/234251356-9d4aeae6-32b3-4b48-92ac-314dc30e993d.jpg[/img] -- Overview Experimental · Insiders only -- Accessing your device from anywhere in your local network is great, but there are times when you might want it to be reachable from remote locations. This is particularly true for projects such as media servers, network attached storage (NAS) and VPNs such as those provided by RaspAP. However, due to the [url=https://en.wikipedia.org/wiki/IPv4_address_exhaustion]shortage of IPv4 addresses[/url], it's likely that you will receive a new and different external IP address from your ISP each time your router is rebooted. Some ISPs offer a static external IP address, although often at an additional cost above a basic subscription. This is where using a [b]Dynamic DNS[/b] (or [b]DDNS[/b]) service on your home network can be extremely useful. -- Solution -- Dynamic DNS solves this problem by providing a domain name that always points to the current IP address of your device, regardless of how often it changes. With DDNS, the IP assigned to your domain name is automatically updated by a piece of software (known as a [i]daemon[/i]) running on your device. This means that you can access the server using the same domain name, without having to constantly update settings each time the IP address changes. The daemon running on your device resolves your external IP address using one of several methods, then reports this to your DDNS provider. There are a number of different providers that offer Dynamics DNS free of charge. If you currently own a custom domain name, chances are your registrar provides DDNS or has a partner to support this. -- Installation -- The [url=https://docs.raspap.com/quick/]Quick installer[/url] will give you the option to add the required packages to your system, and enable the configuration page in RaspAP. Simply press [b]Enter[/b] at the prompt to accept the default "Y" (yes) response: [code=text]Install ddclient and enable DDNS configuration? [Y/n]:[/code] When the installer completes, you will be able to administer the [code=text,0,1]ddclient[/code] service as described in the sections below. -- Basic settings -- All the configuration settings needed to enable Dynamic DNS on your device are available on the [b]Basic settings[/b] tab. These are described in the next section. --- Service provider --- RaspAP makes use of the proven [b][url=https://github.com/ddclient/ddclient]ddclient[/url][/b] open source software for Linux to update dynamic DNS entries. The [code=text,0,1]ddclient[/code] software is highly configurable and provides a daemon that updates your external IP at scheduled intervals. Many popular [url=https://github.com/ddclient/ddclient#supported-services]Dynamic DNS services[/url] are supported by [code=text,0,1]ddclient[/code] and RaspAP. Instructions on how to setup your domain for DDNS vary by provider, but the process is generally similar. Begin by selecting a [b]Service provider[/b] from the dropdown. RaspAP will assist you by automatically populating the [b]Protocol[/b] and [b]Server[/b] fields. You may also manually configure the details for your service if so desired. [img]https://user-images.githubusercontent.com/229399/234258065-cc75df63-5e39-4cfd-ba1b-ed533b3982d6.png[/img] Note Some DDNS providers, such as NoIP, distribute their own Linux client to use with their service. It isn't necessary to install this software because the [code=text,0,1]ddclient[/code] daemon already includes this functionality. --- Method to obtain IP --- There are a variety of different methods to determine your external IP address. A popular one involves a discovery page on the web that resolves your IP. If you choose this method, enter it in the [b]Web address[/b] field after selecting this option from the [b]Method to obtain IP[/b] select. Tip There are many freely available external IP discovery pages you can use. Examples include [url=http://ip.changeip.com/]ChangeIP[/url] and this one from [url=https://dynamicdns.park-your-domain.com/getip]Namecheap[/url]. Each of these pages perform the same basic function. Alternatively, you may want to use an IP address from a network interface, your router's firewall status page, or an external command. Each of these options can be specified, thereby giving you a great deal of flexibility. --- Login and domain --- Enter your DDNS service credentials in the [b]Username[/b] and [b]Password[/b] fields. Finally, specify the [b]Domain[/b] to be updated that will be associated with your device. DDNS providers may also refer to this as a "zone" or "host". These definitions may take several forms, for example: [code=text]myhost.dyndns.org mydomain.com @.mydomain.com[/code] Check with your DDNS service provider to determine which entry is best for your configuration. To complete your setup, choose [b]Save settings[/b] now or proceed with advanced options. -- Advanced settings -- A subset of advanced options are provided for your configuration. These are not required for the DDNS service to be functional, but may be adjusted to suit your needs. [img]https://user-images.githubusercontent.com/229399/234574539-da424b27-4489-40bf-88e7-0e42988bce8a.png[/img] --- Enable SSL --- You may wish to [b]Enable SSL[/b] to ensure that your credentials are not sent over the internet unencrypted. Not all providers support this, however, so this option is disabled by default. Enabling this option for a non-SSL supported provider may result in a connection timeout. Errors such as these [url=https://github.com/ddclient/ddclient/issues/309]have been reported[/url]: [code=text]WARNING: cannot connect to checkip.dyndns.org:443 socket: Connection timed out SSL connect attempt failed WARNING: found neither IPv4 nor IPv6 address DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports <undefined> WARNING: unable to determine IP address[/code] For this reason, it's recommended to check with your DDNS service provider before enabling this. --- Daemon check interval --- Finally, you may define the [b]Daemon check interval[/b] to control the length of time between updates performed by [code=text,0,1]ddclient[/code] in the background. This value is specified in milliseconds and defaults to 300. When you've completed your configuration, choose [b]Save settings[/b] and [b]Start Dynamic DNS[/b]. -- Troubleshooting -- Behind the scenes, the [code=text,0,1]ddclient[/code] daemon will determine your external IP using the method you've defined and send this to your DDNS provider. Your provider will then update the IP address corresponding to the DNS "A" (or "address") record for your domain. If your DDNS provider fails to report your current IP address, or you suspect there might be a problem with the [code=text,0,1]ddclient[/code] configuration on your device, you may generate a detailed debug log. From the [b]Logging[/b] tab, use the [b]Generate log[/b] button to invoke the [code=text,0,1]ddclient[/code] daemon and output a troubleshooting log: [img]https://user-images.githubusercontent.com/229399/234276204-5d3e2640-7166-47ec-ac3c-6a4034be8060.png[/img] This will provide a verbose output of everything [code=text,0,1]ddclient[/code] is doing. If it ends with a [code=text,0,1]SUCCESS[/code] message this indicates that the daemon successfully checked and updated the DNS "A" record with your provider, if neccessary. An example of this is shown below: [code=text]RECEIVE: 140.82.121.3 DEBUG: get_ip: using web dynamicdns.park-your-domain.com/getip reports 140.82.121.3 SUCCESS: @.mydomain.com: skipped: IP address was already set to 140.82.121.3.[/code] If the daemon doesn’t reply with [code=text,0,1]SUCCESS[/code], the debug output should give you some clues as to what the problem is. -- Port forwarding -- If [code=text,0,1]ddclient[/code] has successfully updated your DDNS provider's "A" record with your IP address, but you are unable to access your device remotely, it's likely your router needs to be configured for [b]port forwarding[/b]. This instructs the router to send, or forward, data packets from the external WAN interface to the internal IP address belonging to your device. You can enable this by using your router's port mapping/forwarding setup. This procedure allows remote computers to connect to a specific device within your internal LAN's private address space. Specifics are highly dependent on the router you have, although the steps are generally straightforward. Consult your router's documentation for details. -- Demilitarized zone -- An alternative to forwarding specific ports to an internal IP is using a [b]demilitarized zone[/b] (DMZ). A home router DMZ is a host on an internal network that has all UDP and TCP ports open and exposed, except those ports otherwise forwarded. By using this method, all the ports (and services) of your device will be directly accessible from the internet, with the attendant security risks that this implies. This setup is often desirable when a host is running multiple public-facing services that need to be accessed over the internet. In this context, a DMZ provides greater isolation and granular control than is possible with port forwarding. It's also possible to configure different security policies for various DMZ segments. For these reasons, a properly configured DMZ can be a [i]more secure[/i] way to expose services to the internet than port forwarding. The specifics of creating a DMZ are beyond the scope of this document, although at minimum a [url=https://docs.raspap.com/firewall/]firewall[/url] is strongly advised. -- Discussions -- Questions or comments about using Dynamic DNS? Join the [url=https://github.com/RaspAP/raspap-webgui/discussions/1347]discussion here[/url].
Prévisualisation
Prévisualisation
Nature de la modification (facultatif, 100 caractères max)
* Code de vérification
Combien font 4 + cinq ?
Valider
Valider
Défaut