routeros-scripts/global-config

75 lines
2.6 KiB
Text
Raw Normal View History

#
2018-07-05 13:29:26 +00:00
# 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/";
2018-07-05 13:29:26 +00:00
# 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";
2018-09-13 20:25:38 +00:00
# add more here...
};
# Run commands on SMS action.
:global "sms-action" {
shutdown="/ system shutdown";
reboot="/ system reboot";
# add more here...
}
2018-07-05 13:29:26 +00:00
# This address should resolve ntp servers and is used to update
# ntp settings. A pool can rotate servers.
:global "ntp-pool" "pool.ntp.org";
2018-08-06 12:21:55 +00:00
# This is the address used to send gps data to.
:global "gps-track-url" "https://example.com/index.php";
2018-07-09 14:05:04 +00:00
# Enable this to fetch scripts from given url.
:global "script-updates-fetch" true;
2018-07-09 14:05:04 +00:00
: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" };
2018-07-09 14:05:04 +00:00
2018-07-05 13:29:26 +00:00
# Do *NOT* change these!
:global "sent-routeros-update-notification" "-";
2018-07-05 13:29:26 +00:00
:global "identity" [ / system identity get name ];