Can't matrix login,how to add proxy

hi, i’m in china. some ip is blocked, I try add proxy to ubuntu bash terminal and win 10 cmd terminal ,both can ‘curl google.com’ work, but both can’t matrix login,

it show in win10:

 `Matrix CLI : User Authentication Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND 1080 1080:80`

Upgrade Check Error: { Error: connect ETIMEDOUT 151.101.72.133:443 at Object.exports._errnoException (util.js:1023:11) at exports._exceptionWithHostPort (util.js:1046:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14) code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect', address: '151.101.72.133', port: 443 }