mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-16 07:48:02 +02:00
add doc/update-tunnelbroker.md
This commit is contained in:
parent
a2b009502f
commit
3f6539da4c
2 changed files with 44 additions and 0 deletions
41
doc/update-tunnelbroker.md
Normal file
41
doc/update-tunnelbroker.md
Normal 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)
|
|
@ -2,6 +2,9 @@
|
||||||
# RouterOS script: update-tunnelbroker
|
# RouterOS script: update-tunnelbroker
|
||||||
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
|
# Copyright (c) 2013-2020 Christian Hesse <mail@eworm.de>
|
||||||
# Michael Gisbers <michael@gisbers.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 CertificateAvailable;
|
||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue