aboutsummaryrefslogtreecommitdiffstats
path: root/global-config
blob: e42139bca079b0ab0481f4de40cef8e6fac4cd67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# 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 ];