全球主机交流论坛
标题:
ifconfig 显示的是IntranetIP , 不显示外部IP,怎么处理?
[打印本页]
作者:
lastfree
时间:
2022-12-7 18:57
标题:
ifconfig 显示的是IntranetIP , 不显示外部IP,怎么处理?
ifconfig 显示的是IntranetIP , 不显示外部IP,怎么处理?
一键脚本都不能用,显示域名没有绑定到IP。
/etc/network/interfaces 里面好像是设置dhcp
# The normal eth0
allow-hotplug eth0
iface eth0 inet dhcp
怎么设置才能正确显示外部IP?
作者:
cicvc
时间:
2022-12-7 18:58
脚本改成 curl ip.gs
作者:
J0rmo
时间:
2022-12-7 19:04
自己在 /etc/hosts 中添加一行,
你的内部IP 你的域名
复制代码
作者:
kra
时间:
2022-12-7 19:11
nat vps 常见的事
作者:
auto8624
时间:
2022-12-7 19:17
https://github.com/jeessy2/ddns-go
欢迎光临 全球主机交流论坛 (https://d.168530.xyz/)
Powered by Discuz! X3.4