Monitor WAN IP address of your machine circumventing CGNAT and send an update to a specified Discord channel whenever it changes. This is particularly useful if you're running a machine connected to a router with dynamic IP address.
Implemented Routers:
- AX3
This application requires Python 3 and either Microsoft Edge Driver or GeckoDriver in your system's PATH.
Install the necessary Python packages with the following command:
$ pip install -r requirements.txt
To use this application, you need to configure the .env
file with your specific settings. Here's a breakdown of what each setting does:
ROUTER_TYPE
: This should be one of the supported routers, for exampleAX3
.WEBDRIVER
: This should be eitheredge
orfirefox
, depending on which webdriver you want Selenium to use.ROUTER_HOST
,ROUTER_USER
,ROUTER_PASSWORD
: These should be the IP address, username, and password for your router, respectively. Note that the username isn't always supported by your routers.WEBHOOK_URL
: This should be the URL of the Discord webhook you want to send notifications to.
Once you've configured your .env
file, you can run the program with the following command:
python main.py
This project is licensed under the terms of the MIT license. See LICENSE.