A simple project using react-vpn-detector
to check if a user is connected via VPN.
Clone the repository:
git clone https://github.com/erfan-esmkhan/vpn-detect
Go to the project folder:
cd vpn-detect
Install dependencies:
npm i
Start the development server:
npm start
react-vpn-detector
checks the user’s IP address and matches it with known VPN providers. The useVpnDetector
hook returns true
if a VPN is detected, otherwise false
.
Contributions are welcome! Open an issue or create a pull request.
git checkout -b feature/YourFeature
).git commit -m 'Add a feature'
).git push origin feature/YourFeature
).Feel free to reach out if you have any questions or need help!