Outils pour utilisateurs

Outils du site


tech:config_client_web_proxy

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:config_client_web_proxy [2025/10/30 16:56] Jean-Baptistetech:config_client_web_proxy [2025/11/13 20:44] (Version actuelle) Jean-Baptiste
Ligne 17: Ligne 17:
 Proxy HTTP Proxy HTTP
 <code bash> <code bash>
-export http_proxy=http://192.168.56.1:3128 +#export http_proxy=http://192.168.56.1:3128 
-export https_proxy=http://192.168.56.1:3128 +#export https_proxy=http://192.168.56.1:3128 
-export no_proxy=localhost,127.0.0.1,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,::1+export ALL_PROXY=http://192.168.56.1:3128 
 +export NO_PROXY=localhost,127.0.0.1,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,169.254.0.0/16,::1
 </code> </code>
  
Ligne 27: Ligne 28:
 export ALL_PROXY=socks5h://127.0.0.1:1080 export ALL_PROXY=socks5h://127.0.0.1:1080
 export NO_PROXY=localhost,127.0.0.0/8,::1 export NO_PROXY=localhost,127.0.0.0/8,::1
-export all_proxy=socks5h://127.0.0.1:1080 
-export no_proxy=localhost,127.0.0.0/8,::1 
 </code> </code>
  
-Config permanent / persistent  +Config permanent / persistent 
-<code ini /etc/environment> + 
-http_proxy=http://192.168.56.1:3128 +''/etc/environment'' 
-https_proxy=http://192.168.56.1:3128 +<code ini
-no_proxy=localhost,127.0.0.1,localaddress,.localdomain.com,192.168.56.12+#http_proxy=http://192.168.56.1:3128 
 +#https_proxy=http://192.168.56.1:3128 
 +ALL_PROXY=http://192.168.56.1:3128 
 +NO_PROXY=localhost,127.0.0.1,localaddress,.localdomain.com,192.168.56.12
 </code> </code>
  
Ligne 48: Ligne 50:
 curl -x '' https://gnu.org curl -x '' https://gnu.org
 </code> </code>
 +
  
 === Mot de passe === Mot de passe
Ligne 54: Ligne 57:
  
 <code bash> <code bash>
-export http_proxy=http://Nom:MotDePasse@192.168.56.1:3128 +export ALL_PROXY=http://Nom:MotDePasse@192.168.56.1:3128
-export https_proxy=http://Nom:MotDePasse@192.168.56.1:3128+
 </code> </code>
  
 Si caractères spéciaux ou accentué vous devez encoder les caractères. Voir : 'URL encoding / Percent encoding'  Si caractères spéciaux ou accentué vous devez encoder les caractères. Voir : 'URL encoding / Percent encoding' 
 +
  
 === Sudo === Sudo
Ligne 80: Ligne 83:
 Ou  Ou 
  
-<code - /etc/sudoers>+''/etc/sudoers'' 
 +<code ->
 Defaults        env_reset Defaults        env_reset
  
Ligne 86: Ligne 90:
 Defaults        env_keep += "https_proxy" Defaults        env_keep += "https_proxy"
 </code> </code>
 +
 +
 +
 == RedHat == RedHat
  
-<code ini /etc/yum.conf>+ 
 +''/etc/yum.conf'' 
 +<code ini>
 proxy=http://192.168.2.30:3128 proxy=http://192.168.2.30:3128
 </code> </code>
 +
  
 == Debian == Debian
tech/config_client_web_proxy.1761839762.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki