add doc/update-tunnelbroker.md

This commit is contained in:
Christian Hesse 2020-03-27 21:52:02 +01:00
parent a2b009502f
commit 3f6539da4c
2 changed files with 44 additions and 0 deletions

View file

@ -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)

View file

@ -2,6 +2,9 @@
# RouterOS script: update-tunnelbroker
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
# Michael Gisbers <michael@gisbers.de>
#
# update local address of tunnelbroker interface
# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-tunnelbroker.md
:global CertificateAvailable;
:global LogPrintExit;