1
0
hugo/content/blog/2024-08-10-ip.md

42 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2024-04-23 13:28:33 +00:00
+++
date = "2024-08-10"
tags = ["mac"]
title = "ip.networkとicloud private relay"
+++
ip addr(global)を調べるには`ip.network`, `ipinfo.io`などがあります。試してみましょう。
```sh
$ curl -sL ip.network/more
{
"ip": "2a0a:bac2:4515:1e14::2ff:6",
"country": "JP",
"city": "Matsue",
"region": "Shimane",
"regionCode": "32",
"timezone": "Asia/Tokyo",
"postalCode": "690-0801",
"asn": 13344,
"asOrganization": "iCloud Private Relay",
"more": "https://ip.network"
}
$ curl -sL ipinfo.io
{
"ip": "103.28.83.214",
"city": "Tokyo",
"region": "Tokyo",
"country": "JP",
"loc": "35.6895,139.6917",
"org": "AS13335 Cloudflare, Inc.",
"postal": "101-8656",
"timezone": "Asia/Tokyo",
"readme": "https://ipinfo.io/missingauth"
}
```
どうやらicloud private relayのipv4はcloudflareを使ってるみたいです。
最近、icloud private relayが使いやすいのでbrowser(mac)をsafariに置き換えようかなと思っています。もうすぐchromeの広告ブロック排除がくるみたいだし。