From 3f6539da4c1a2fe29ea5c684af37bcda8b7c8652 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 27 Mar 2020 21:52:02 +0100 Subject: add doc/update-tunnelbroker.md --- doc/update-tunnelbroker.md | 41 +++++++++++++++++++++++++++++++++++++++++ update-tunnelbroker | 3 +++ 2 files changed, 44 insertions(+) create mode 100644 doc/update-tunnelbroker.md diff --git a/doc/update-tunnelbroker.md b/doc/update-tunnelbroker.md new file mode 100644 index 0000000..3641588 --- /dev/null +++ b/doc/update-tunnelbroker.md @@ -0,0 +1,41 @@ +Update tunnelbroker configuration +================================= + +[◀ Go back to main README](../README.md) + +Description +----------- + +Connecting to [tunnelbroker.net](//tunnelbroker.net) from dynamic public +ip address requires the address to be sent to the remote, and to be set +locally. This script does both. + +Requirements and installation +----------------------------- + +Just install the script: + + $ScriptInstallUpdate update-tunnelbroker; + +Installing [ppp-on-up](ppp-on-up.md) makes this script run when ever a ppp +connection is established. + +Configuration +------------- + +The configuration goes to interface's comment: + + / interface 6to4 set comment="tunnelbroker, user=user, pass=s3cr3t, id=12345" tunnelbroker; + +Also enabling dynamic DNS in Mikrotik cloud is required: + + / ip cloud set ddns-enabled=yes; + +See also +-------- + +* [Run scripts on ppp connection](ppp-on-up.md) + +--- +[◀ Go back to main README](../README.md) +[▲ Go back to top](#top) diff --git a/update-tunnelbroker b/update-tunnelbroker index 3aed610..1b5bb9e 100644 --- a/update-tunnelbroker +++ b/update-tunnelbroker @@ -2,6 +2,9 @@ # RouterOS script: update-tunnelbroker # Copyright (c) 2013-2020 Christian Hesse # Michael Gisbers +# +# update local address of tunnelbroker interface +# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-tunnelbroker.md :global CertificateAvailable; :global LogPrintExit; -- cgit v1.2.3-54-g00ecf