腾讯云服务器公网ip获取方法

更新时间: 2023-06-16 16:31:59作者: 网站编辑阅读量: 179

腾讯云服务器公网IP获取可以通过以下方法实现:

  1. 使用腾讯云服务器提供的Pop Server和Tor网络功能(如https://drop.qq.com/spop/encryption)来获取公网IP: 在腾讯云服务器的客户端中,输入以下命令:

    spoof() # ping slow slow super super slow # ping / / /

    ping成功返回一个IP地址,该IP地址是从本地计算机获取的。注意,该IP地址的网络层地址应该是腾讯云服务器提供的公网IP地址。

  2. 使用腾讯云服务器提供的Session Swap Service来获取公网IP:

    使用以下命令:

    sessionswaps = session.swapped() # synchronized by systemquery(session_swapped) sleep(1000)

  3. 使用腾讯云服务器提供的Session ExplicitService来获取公网IP:

    使用以下命令:

    sessionexplicitservice = session.explicit_service() sleep(1000)

腾讯云服务器提供的Session ExplicitService获取公网IP的过程如下:

ping                                                slow
slow                                   super
ping                                       super                                    slow                        ...
  1. 使用腾讯云服务器提供的Session Distributed服务获取公网IP:

    使用以下命令:

    sessionsent = session.sent() Sessiondistribution = Session.distributed() Sessiondistribution _timeout = super Sessiondistribution _timeout

最新推荐

右侧广告图1右侧广告图2