找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2049|回复: 13

大神,我的阿里云DDNS按照教程来,怎么不成呢

[复制链接]
发表于 2020-3-5 11:24 | 显示全部楼层 |阅读模式
本帖最后由 注入引出 于 2020-3-5 12:45 编辑

谢谢各位帮助,光猫改成桥接模式后,可以用4G或者其他网络访问了

下一步尝试外网访问FTP和Aria2





参考了jsllb1986http://koolshare.cn/thread-85094-1-7.html
还有Rich_Fuhttps://koolshare.cn/forum.php?m ... 4&highlight=Aliddns的教程

设置应该是没什么问题的
一直是无法访问

目前光猫是有公网IP配的,光猫拨号上网,没用桥接模式
大神能给分析下吗

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-3-5 11:28 | 显示全部楼层
桥接应该行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-5 11:30 | 显示全部楼层
阿里控制台上能看到解析的信息

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 11:36 | 显示全部楼层
不懂帮顶。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 12:01 | 显示全部楼层
我现在也是卡到这里 访问不了

点评

光猫改成桥接模式就可以了  详情 回复 发表于 2020-3-5 12:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 12:08 | 显示全部楼层
要在脚本里修改获取外网IP的地方 用3322那个

点评

这个我没太看懂,这是没找到公网IP吗 # 自行测试哪个代码能获取正确的IP,删除前面的#可生效 arIpAddress () { # IPv4地址获取 # 获得外网地址 curltest=`which curl` if [ -z "$curltest" ] || [ ! -s "`whic  详情 回复 发表于 2020-3-5 12:37
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 12:09 | 显示全部楼层
图片我不会上传。。你进aliddns设置画面下面有个超链接   Aliddns 脚本-基于 Aliddns 用户 API 实现的纯 Shell 动态域名客户端    进入后  
# 获得外网地址
# 自行测试哪个代码能获取正确的IP,删除前面的#可生效
arIpAddress () {
curltest=`which curl`
if [ -z "$curltest" ] || [ ! -s "`which curl`" ] ; then
    #wget --no-check-certificate --quiet --output-document=- "http://www.ipip.net" | grep "您当前的IP:" | grep -E -o '([0-9]+\.){3}[0-9]+'
    #wget --no-check-certificate --quiet --output-document=- "http://members.3322.org/dyndns/getip" | grep -E -o '([0-9]+\.){3}[0-9]+'
    #wget --no-check-certificate --quiet --output-document=- "ip.6655.com/ip.aspx" | grep -E -o '([0-9]+\.){3}[0-9]+'
    wget --no-check-certificate --quiet --output-document=- "ip.3322.net" | grep -E -o '([0-9]+\.){3}[0-9]+'
else
    #curl -L -k -s "http://www.ipip.net" | grep "您当前的IP:" | grep -E -o '([0-9]+\.){3}[0-9]+'
    #curl -k -s "http://members.3322.org/dyndns/getip" | grep -E -o '([0-9]+\.){3}[0-9]+'
    #curl -k -s ip.6655.com/ip.aspx | grep -E -o '([0-9]+\.){3}[0-9]+'
    curl -k -s ip.3322.net | grep -E -o '([0-9]+\.){3}[0-9]+'
fi
}
arIpAddress=$(arIpAddress)



修改成这样就可以了

点评

多谢,又学到一招。 我打电话改成桥接模式后,就可以访问了  详情 回复 发表于 2020-3-5 12:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-5 12:35 | 显示全部楼层
臭鱼烂虾 发表于 2020-3-5 12:09
图片我不会上传。。你进aliddns设置画面下面有个超链接   Aliddns 脚本-基于 Aliddns 用户 API 实现的纯 Sh ...

多谢,又学到一招。
我打电话改成桥接模式后,就可以访问了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-5 12:37 | 显示全部楼层
臭鱼烂虾 发表于 2020-3-5 12:08
要在脚本里修改获取外网IP的地方 用3322那个

这个我没太看懂,这是没找到公网IP吗
# 自行测试哪个代码能获取正确的IP,删除前面的#可生效
arIpAddress () {
# IPv4地址获取
# 获得外网地址
curltest=`which curl`
if [ -z "$curltest" ] || [ ! -s "`which curl`" ] ; then
    #wget --no-check-certificate --quiet --output-document=- "https://www.ipip.net" | grep "IP地址" | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
    wget --no-check-certificate --quiet --output-document=- "http://members.3322.org/dyndns/getip" | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
    #wget --no-check-certificate --quiet --output-document=- "ip.6655.com/ip.aspx" | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
    #wget --no-check-certificate --quiet --output-document=- "ip.3322.net" | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
else
    #curl -L -k -s "https://www.ipip.net" | grep "IP地址" | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
    curl -k -s "http://members.3322.org/dyndns/getip" | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
    #curl -k -s ip.6655.com/ip.aspx | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
    #curl -k -s ip.3322.net | grep -E -o '([0-9]+\.){3}[0-9]+' | head -n1 | cut -d' ' -f1
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-5 12:38 | 显示全部楼层
臭鱼烂虾 发表于 2020-3-5 12:01
我现在也是卡到这里 访问不了

光猫改成桥接模式就可以了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-5 16:46 | 显示全部楼层
打个 你光猫有防火墙啊 有NAT啊 端口转发一下
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-6 10:05 | 显示全部楼层
请问你最后怎么成的,我今天修改了桥接模式,依然访问不了

点评

就是和图片上的设置一样的,然后改了公网IP和桥接模式,其余的都没动过 设置完要等一段时间才能生效 你到域名控制台看看有没有解析的记录  详情 回复 发表于 2020-3-6 16:10
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-3-6 16:10 | 显示全部楼层
臭鱼烂虾 发表于 2020-3-6 10:05
请问你最后怎么成的,我今天修改了桥接模式,依然访问不了

就是和图片上的设置一样的,然后改了公网IP和桥接模式,其余的都没动过
设置完要等一段时间才能生效
你到域名控制台看看有没有解析的记录
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-3-6 17:18 | 显示全部楼层
光猫必须设置dmz转发或者桥接,不然你路由器是内网ip只能用frp这种内网穿透才能访问。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 03:49

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表