路由设置
route add 172.16.0.0 mask 255.240.0.0 192.168.19.254 -p
route add 10.0.0.0 mask 255.0.0.0 192.168.19.254 -p
route add 0.0.0.0 mask 0.0.0.0 172.20.19.254 -p
route delete 0.0.0.0 mask 0.0.0.0 192.168.19.254
开启/关闭IDM代理
@echo off
reg add HKEY_CURRENT_USER\Software\DownloadManager /v nProxyMode /t REG_DWORD /d 16 /f
@echo off
reg add HKEY_CURRENT_USER\Software\DownloadManager /v nProxyMode /t REG_DWORD /d 1 /f