... | ... | @@ -9,14 +9,50 @@ |
|
|
* requests
|
|
|
|
|
|
## Configuration
|
|
|
Most settings can be changed in the `config.ini` (just copy the `config.ini.example`)
|
|
|
```ini
|
|
|
[server]
|
|
|
[global]
|
|
|
|
|
|
# The IPv4 address of the server where the server files are located. (They have to be accessible through this IP!)
|
|
|
ipv4 = 127.0.0.1
|
|
|
# The IPv4-Address of the Webserver
|
|
|
server_ipv4 = 134.255.253.137
|
|
|
|
|
|
# The IPv6 address of the server where the server files are located. (They have to be accessible through this IP!)
|
|
|
ipv6 = ::1
|
|
|
# The IPv6-Address of the Webserver
|
|
|
server_ipv6 = 2a05:bec0:30::2
|
|
|
|
|
|
# HTTPS
|
|
|
https_enabled = True
|
|
|
|
|
|
# True for skipping the check of the certificate (may be insecure!)
|
|
|
https_skip_certificate_check = True
|
|
|
|
|
|
# It's the part after the http(s)://127.0.0.1/[dynhomeipr/]ipv4.php
|
|
|
webpath = dynhomeipr/
|
|
|
|
|
|
# Each x seconds an update of the IP should be done:
|
|
|
update_pause = 300
|
|
|
|
|
|
# Each x seconds after a failed connection it should be retried:
|
|
|
retry_pause = 60
|
|
|
|
|
|
# change these like the lines you changed on the server in the ipv4.php and ipv6.php
|
|
|
auth_username = dynhomeipr_user
|
|
|
auth_password = qwerty95windows
|
|
|
|
|
|
|
|
|
[modules]
|
|
|
# change these to True to enable or False to disable
|
|
|
ipv4 = True
|
|
|
ipv6 = True
|
|
|
```
|
|
|
|
|
|
To change the login credentials you also have to change them in the `ipv4.php` and `ipv6.php` on the webserver:
|
|
|
```php
|
|
|
<?php
|
|
|
|
|
|
$username='dynhomeipr_user';
|
|
|
$password='changeme';
|
|
|
|
|
|
// !!! DO NOT CHANGE ANYTHING BELOW THIS LINE !!!
|
|
|
```
|
|
|
|
|
|
## Usage
|
... | ... | |