As an alternative to setting the environment variables, wget can be directly instructed to use a proxy. On my Linux laptop, it is sufficient for tlmgr that proxy has been set for wget in /etc/wgetrc . For setting up wgetrc in Windows, Google finds detailed instructions at, e.g., http://www.whitehats.ca/main/members/Malik/malik_wget_win/malik_wget_win.html . Relevant lines in wgetrc will look something like these.
# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://18.104.22.168:8080/
http_proxy = http://22.214.171.124:8080/
ftp_proxy = http://proxy.yoyodyne.com:18023/
no_proxy = localhost, 127.0.0.1
proxy_user = domain\user
proxy_password = password
# If you do not want to use proxy at all, set this to off.
use_proxy = on
From: tex-live [mailto:email@example.com] On Behalf Of Zdenek Wagner
Sent: Thursday, February 08, 2018 4:03 PM
To: Pascal Kiwitz
Subject: Re: [tex-live] TeXLive behind proxy
It should be sufficient to open Control Panel / System, find Environment variables and create new variables http_proxy and https_proxy with the contents as you gave. I now sit at a Linux computer which does not have Windows in a VM, so I cannot be more specific but if I remember it well, setting of environment variables appears below Advanced.
2018-02-08 12:36 GMT+01:00 Pascal Kiwitz <***@outlook.com>:
How to properly use TeXLive behind a proxy?
I worked with TeXLive for many years and I'm introducing TeXLive in my new company. The company is using a proxy server.
I was able to install the TeXLive by adding the following lines of code to the install-tl-advanced.bat:
Unfortunately, I did not find a solution for using a proxy with the TeX Live Manager 2017. Neither for the LWP nor for the wget connection.
Could you tell where I have to add my proxy settings?
Would it be possible to include that as a setting in TeX Live Manager for a future release?
Thank you and best regards,
Dr. Pascal Kiwitz
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;">
<td align="left" style="text-align:justify;"><font face="arial,sans-serif" size="1" color="#999999"><span style="font-size:11px;">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. </span></font></td>