I found those instructions
2 - Configure the proxy settings in the .bashrc
If you want set the proxy for all the users you can do it in the system wide .bashrc file.
But it doesn't survive reboot?
I will try your solution.