> ## Content Index
> Fetch the complete content index at: https://darkwebinformer.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# MyIP - A Better IP Toolbox
- URL: https://darkwebinformer.com/myip-a-better-ip-toolbox/
- Published: 2024-08-20T19:35:30.000Z
- Updated: 2025-09-04T22:27:29.000Z
- Author: Dark Web Informer
- Tags: OSINT, Tools

**GitHub Link:** <https://github.com/jason5ng32/MyIP>  
**Last Commit:** August 14th, 2024

## 👀 Main Features

[](https://github.com/jason5ng32/MyIP#-main-features)

- 🖥️ **View Your IPs**: Detects and displays your local IPs, sourcing from multiple IPv4 and IPv6 providers.
- 🕵️ **IP Information**: Presents detailed information for all IP addresses, including country, region, ASN, geographic location, and more.
- 🚦 **Availability Check**: Tests the accessibility of various websites, such as Google, GitHub, YouTube, ChatGPT, and others.
- 🚥 **WebRTC Detection**: Identifies the IP address used during WebRTC connections.
- 🛑 **DNS Leak Test**: Shows DNS endpoint data to evaluate the risk of DNS leaks when using VPNs or proxies.
- 🚀 **Speed Test**：Test your network speed with edge networks.
- 🚏 **Proxy Rule Testing**: Test the rule settings of proxy software to ensure their correctness.
- ⏱️ **Global Latency Test**: Performe lantency tests on servers located in different regions around the world.
- 📡 **MTR Test**: Perform MTR tests on servers located in different regions around the world.
- 🔦 **DNS Resolver**: Performs DNS resolution of a domain name from multiple sources and obtains real-time resolution results that can be used for contamination determination.
- 🚧 **Censorship Check**: Check if a website is blocked in some countries.
- 📓 **Whois Search**: Perform whois information search for domain names or IP addresses
- 📀 **MAC Lookup**: Query information of a physical address
- 🌗 **Dark Mode**: Automatically toggles between dark and daylight modes based on system settings, with an option for manual switching.
- 📱 **Minimalist Mode**: A mobile-optimized mode that shortens page length for quick access to essential information..
- 🔍 **Search IP Information**: Provides a tool for querying information about any IP address.
- 📲 **PWA Supported**：Can be added as a desktop app on your phone as well as a Chrome app on your computer.
- ⌨️ **Keyboard Shortcuts**: Supports keyboard shortcuts for all functions, press `?` to view the shortcut list.
- 🌍 Based on availability test results, it indicates whether global internet access is currently feasible.
- 🇺🇸 🇨🇳 🇫🇷 English, Chinese, and French support.

## 📕 How to Use

[](https://github.com/jason5ng32/MyIP#-how-to-use)

### Deploying in a Node Environment

[](https://github.com/jason5ng32/MyIP#deploying-in-a-node-environment)

Make sure you have Node.js installed.

Clone the code:

git clone https://github.com/jason5ng32/MyIP.git

Install and build:

npm install && npm run build

Run:

npm start

The program will run on port 18966.

### Using Docker

[](https://github.com/jason5ng32/MyIP#using-docker)

Click the 'Deploy to Docker' button at the top to complete the deployment. Or, use the following shell:

docker run -d -p 18966:18966 --name myip --restart always jason5ng32/myip:latest

## 📚 Environment Variable

[](https://github.com/jason5ng32/MyIP#-environment-variable)

You can use the program without adding any environment variables, but if you want to use some advanced features, you can add the following environment variables:

| Variable Name                        | Required | Default Value           | Description                                                                                                                                   |
| ------------------------------------ | -------- | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| BACKEND\_PORT                        | No       | "11966"                 | The running port of the backend part of the program                                                                                           |
| FRONTEND\_PORT                       | No       | "18966"                 | The running port of the frontend part of the program                                                                                          |
| SECURITY\_RATE\_LIMIT                | No       | "0"                     | Controls the number of requests an IP can make to the backend server every 60 minutes (set to 0 for no limit)                                 |
| SECURITY\_DELAY\_AFTER               | No       | "0"                     | Controls the first X requests from an IP every 20 minutes that are not subject to speed limits, and after X requests, the delay will increase |
| SECURITY\_BLACKLIST\_LOG\_FILE\_PATH | No       | "logs/blacklist-ip.log" | Path setting. Records the list of IPs that triggered the limit after SECURITY\_RATE\_LIMIT is enabled                                         |
| BING\_MAP\_API\_KEY                  | No       | ""                      | API Key for Bing Maps, used to display the location of the IP on a map                                                                        |
| ALLOWED\_DOMAINS                     | No       | ""                      | Allowed domains for access, separated by commas, used to prevent misuse of the backend API                                                    |
| IPCHECKING\_API\_KEY                 | No       | ""                      | API Key for IPCheck.ing, used to obtain accurate IP geolocation information                                                                   |
| IPINFO\_API\_TOKEN                   | No       | ""                      | API Token for IPInfo.io, used to obtain IP geolocation information through IPInfo.io                                                          |
| IPAPIIS\_API\_KEY                    | No       | ""                      | API Key for IPAPI.is, used to obtain IP geolocation information through IPAPI.is                                                              |
| KEYCDN\_USER\_AGENT                  | No       | ""                      | The domain name when using KeyCDN, must contain https prefix. Used to obtain IP address information through KeyCDN                            |
| CLOUDFLARE\_API                      | No       | ""                      | API Key for Cloudflare, used to obtain AS system information through Cloudflare                                                               |
| MAC\_LOOKUP\_API\_KEY                | No       | ""                      | API Key for MAC Lookup, used to obtain MAC address information                                                                                |
| VITE\_GOOGLE\_ANALYTICS\_ID          | **Yes**  | ""                      | Google Analytics ID, used to track user behavior                                                                                              |

### Using Environment Variables in a Node Environment

[](https://github.com/jason5ng32/MyIP#using-environment-variables-in-a-node-environment)

Create environment variables:

cp .env.example .env

Modify `.env`, and for example, add the following:

BACKEND\_PORT=11966  
FRONTEND\_PORT=18966  
BING\_MAP\_API\_KEY="YOUR\_KEY\_HERE"  
ALLOWED\_DOMAINS="example.com"  
IPCHECKING\_API="YOUR\_KEY\_HERE"

Then restart the backend service.

### Using Environment Variables in Docker

[](https://github.com/jason5ng32/MyIP#using-environment-variables-in-docker)

You can add environment variables when running Docker, for example:

docker run -d -p 18966:18966 \\  
 \-e BING\_MAP\_API\_KEY="YOUR\_KEY\_HERE" \\  
 \-e ALLOWED\_DOMAINS="example.com" \\  
 \-e IPCHECKING\_API="YOUR\_TOKEN\_HERE" \\  
 \--name myip \\  
 jason5ng32/myip:latest  

## 👩🏻‍💻 Advanced Usage

[](https://github.com/jason5ng32/MyIP#-advanced-usage)

If you're using a proxy for internet access, consider adding this rule to your proxy configuration (modify it according to your client). This setup lets you check both your real IP and the IP when using the proxy:

\# IP Testing  
IP-CIDR,1.0.0.1/32,DIRECT,no-resolve  
IP-CIDR6,2606:4700:4700::1111/128,DIRECT,no-resolve  
DOMAIN-SUFFIX,ipify.org,Proxy  
\# Rule Testing  
DOMAIN,ptest-1.ipcheck.ing,Proxy1  
DOMAIN,ptest-2.ipcheck.ing,Proxy2  
DOMAIN,ptest-3.ipcheck.ing,Proxy3  
DOMAIN,ptest-4.ipcheck.ing,Proxy4  
DOMAIN,ptest-5.ipcheck.ing,Proxy5  
DOMAIN,ptest-6.ipcheck.ing,Proxy6  
DOMAIN,ptest-7.ipcheck.ing,Proxy7  
DOMAIN,ptest-8.ipcheck.ing,Proxy8