電訊茶室's Archiver

角色 發表於 2018-6-20 15:40

MikroTik hAP ac² - Cloud hostname for accessing remote MikroTik router

Cloud hostname for accessing remote MikroTik router

1. To enable and activate this service:[code]
[admin@MikroTik] /ip cloud set ddns-enabled=yes
[admin@MikroTik] /ip cloud print
         ddns-enabled: yes
     update-time: yes
  public-address: 159.148.172.205
        dns-name: 529c0491d41c.sn.mynetname.net
          status: updated
[/code].

2. To enable time update from cloud service:[code]
[admin@MikroTik] > ip cloud set update-time=yes
[/code].

3. To enable automatic time zone detection:[code]
[admin@MikroTik] > system clock set time-zone-autodetect=yes
[/code].

4. Update local IP address instead of public IP address[code]
/ip cloud advanced
set use-local-address=yes
[/code]一般我们都用public IP address,而为什么Mikrotik提供这项服务呢?就是考虑到有些时候router在NAT后面,而虽然在NAT后面,但是有一定的用处。例如我现在用的移动宽带,给我的IP都是10.x.x.x, 而我用手机的data,也能连到我的路由器,但是我试过,不能有两个Mikrotik的router,只有最前面的一个,这个local address才有这个local address 功能。

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.