In order to get a high speed to transfer to GDrive, I wanna use a proxy to improve my speed.
I have 2 ways to do so.
First plan: I could do some settings in my router, and all connections go to Google will keep behind a proxy server. This way I've already tried and it works. But not that convenient for me.
Second plan: I could set up the environment varibles for a terminal session.
I use this
export http_proxy="http://127.0.0.1:8080"
export https_proxy="http://127.0.0.1:8080"
and I have also tried
export http_proxy="socks5://127.0.0.1:8080"
export https_proxy="socks5://127.0.0.1:8080"
But these do not work for me. After set up the environment varibles, I do this:
systemctl start rclone.service
to mount my GDrive, and then I use rclone copy
to my GDrive.
But the speed never changed compared with first plan, which the speed is extremely high.
Is there any way to use proxy in a terminal session?