Windows GUI tool to bind a program to a specific network adapter IPv4 using ForceBindIP.
- 自动枚举本机 IPv4 适配器(Wi-Fi/以太网/其他)
- 显示当前 DHCP IPv4 地址
- 选择目标 exe,一键用指定 IP 启动
- 适配中文/英文 netsh 输出
- Windows 10/11
- Python 3.8+(开发运行)
ForceBindIP.exe与selecter.py同目录(运行/打包后同目录)
- 确保同目录存在
ForceBindIP.exe - 运行
selecter.py - 选择网络适配器
- 选择要绑定的 exe
- 点击“一键绑定并运行”
如果使用 PyInstaller,可参考已有 selecter.spec:
pyinstaller selecter.specadapter_selecter/
selecter.py
selecter.spec
icon.ico
ForceBindIP.exe
本工具仅封装调用 ForceBindIP,实际效果取决于系统网络环境与目标程序行为。