​ 在终端输入:

export {http,https}_proxy='http://ip:port'

eg:

export {http,https}_proxy='http://127.0.0.1:1087'

发现一个小问题:通过CiscoAny Connect 连接的vpn 终端还是没办法使用