ROS2.9.27外网无法访问
本帖最后由 heartyuan 于 2011-6-10 16:12 编辑请教一个问题,软路由2。9。27,做了DDNS,用PPPOE拨号 用WINBOX及浏览器在内网可以打开服务器,但在外网就打不开
得到的提示为:不能连接IP(80端口)-无反应
什么毛病呀?
DDNS脚本如下
:log info "DDNS: Begin"
:global ddns-user "用户名"
:global ddns-pass "密码"
:global ddns-host "域名.changeip.net"
:global ddns-interface "pppoe-out1"
:global ddns-system ("mt-" . version] )
:global ddns-ip [ /ip address get address ]
:if ([ :typeof $ddns-lastip ] = nil ) do={ :global ddns-lastip 0.0.0.0/0 }
:if ([ :typeof $ddns-ip ] = nil ) do={
:log info ("DDNS: No ip address present on " . $ddns-interface . ", please check.") } else={
:if ($ddns-ip != $ddns-lastip) do={
:log info "DDNS: Sending UPDATE!"
:log info [ /tool dns-update name=$ddns-host address=[:pick $ddns-ip 0 [:find $ddns-ip "/"] ] key-name=$ddns-user key=$ddns-pass ]
:global ddns-lastip $ddns-ip } else={
:log info "DDNS: No change"
}
}
:log info "DDNS: End"
changip.com已更新好
本地内网可以用域名进入ROS
但到了外网就连不了
已设默认路由
望高手可以帮忙解决下!!!! 怎么没人知道吗???坐等高手 路过,看看……
页:
[1]