routeros-scripts/global-config
2018-09-10 22:15:54 +02:00

67 lines
2.4 KiB
Text

#
# RouterOS script: global-config
# Copyright (c) 2013-2018 Christian Hesse <mail@eworm.de>
#
# global configuration
# This is used for DNS and backup file.
:global "domain" "example.com";
:global "hostname-in-zone" true;
# These addresses are used to send e-mails to. The to-addresses need
# to be filled, cc-addresses can be empty, one address or a comma
# separated list of addresses.
:global "email-general-to" "mail@example.com";
:global "email-general-cc" "another@example.com";
:global "email-backup-to" "mail@example.com";
:global "email-backup-cc" "";
# This defines what backups to generate and what password to use.
:global "backup-send-binary" false;
:global "backup-send-export" true;
:global "backup-password" "v3ry-s3cr3t";
# Specify an address to enable auto update to version assumed safe.
# The configured channel (bugfix, current, release-candidate) is appended.
:global "safe-update-url" "";
#:global "safe-update-url" "https://example.com/ros/safe-update/";
# This is used to update AAAA records and firewall address-list.
:global "ipv6-interface" "br-local";
:global "ipv6-pool" "telekom";
# These settings are used to update gre interface settings based on
# remote peer configuration.
:global "gre-cert-prefix" "ikev2-";
:global "gre-int-prefix" "gre-";
# Access-list entries matching this comment are updated with daily
# pseudo-random PSK.
:global "daily-psk-match-comment" "Daily PSK";
# Run different commands with multiple mode-button presses.
:global "mode-button" {
1="/ system script run leds-toggle-mode;";
2="/ system shutdown";
3="/ system reboot";
# add mode here...
};
# This address should resolve ntp servers and is used to update
# ntp settings. A pool can rotate servers.
:global "ntp-pool" "pool.ntp.org";
# This is the address used to send gps data to.
:global "gps-track-url" "https://example.com/index.php";
# Enable this to fetch scripts from given url.
:global "script-updates-fetch" true;
:global "script-updates-baseurl" "https://git.eworm.de/cgit.cgi/routeros-scripts/plain/";
#:global "script-updates-baseurl" "https://raw.githubusercontent.com/eworm-de/routeros-scripts/master/";
#:global "script-updates-baseurl" "https://gitlab.com/eworm-de/routeros-scripts/raw/master/";
:global "script-updates-urlsuffix" "";
:global "script-updates-ignore" { "global-config"; "GeneratePSK" };
# Do *NOT* change these!
:global "sent-routeros-update-notification" "-";
:global "identity" [ / system identity get name ];