Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

使用脚本切换网关

icymind edited this page Aug 14, 2017 · 1 revision

在后台虚拟机已经运行, 代理已经设置妥当的情况下, 可以使用脚本切换网关, 而无需使用UI.

  1. wget https://raw.githubusercontent.com/icymind/VRouter/dev/toggle_vrouter
  2. chmod +x toggle_vrouter
  3. # 显示当前网关
    ./toggle_vrouter
    
    # 恢复网关到默认状态
    ./toggle_vrouter off
    
    # 切换网关为vrouter
    ./toggle_vrouter on
Clone this wiki locally