Quick Install
Install the tool globally with a single command:
Installs to /usr/local/bin
bash <(curl -sSL https://github.com/DD00031/vpn-detect/raw/refs/heads/main/install.sh)
Once installed, simply run vpn-detect in your terminal.
How it Works
Perfect for configuring VPN Binding in clients like qBittorrent, this script works by comparing your system state:
- Scans current network interfaces.
- Pauses and prompts you to connect to your VPN.
- Rescans interfaces after connection.
- Identifies the new interface created by the tunnel.
Manual Installation
Requirements
- OS: Linux or macOS.
- Dependencies:
net-tools(usually pre-installed on macOS; requires `apt install` on Ubuntu).
Steps
1. Clone & Permissions
git clone https://github.com/DD00031/vpn-detect.git
cd vpn-detect
chmod +x vpn-detect.sh
2. Run Locally
./vpn-detect.sh
License
Available under the GPL-3.0 license.