<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Proxy configuration Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/proxy-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/proxy-configuration/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:49:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to Set or Configure Proxy in Linux and Windows System? &#8211; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/</link>
					<comments>https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 28 Jul 2016 05:54:56 +0000</pubDate>
				<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[How to configure proxy in Linux]]></category>
		<category><![CDATA[How to configure proxy in Windows]]></category>
		<category><![CDATA[How to set proxy in Linux]]></category>
		<category><![CDATA[How to set proxy in windows]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Proxy configuration]]></category>
		<category><![CDATA[Proxy configuration in Linux]]></category>
		<category><![CDATA[Proxy configuration in Windows]]></category>
		<category><![CDATA[Proxy Setting]]></category>
		<category><![CDATA[Set]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/28/setting-the-proxy-configuratin-in-linux-and-windows/</guid>

					<description><![CDATA[<p>Setting the proxy configuration in Linux and Windows If you use a proxy server or firewall, you may need to [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/">How to Set or Configure Proxy in Linux and Windows System? &#8211; scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img fetchpriority="high" decoding="async" class="aligncenter wp-image-3044 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/proxy-configuration-in-linu.png" alt="proxy-configuration-in-linux-and-windows" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/proxy-configuration-in-linu.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/proxy-configuration-in-linu-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div></div>
<div><strong>Setting the proxy configuration in Linux and Windows</strong></div>
<div></div>
<div>If you use a proxy server or firewall, you may need to set the http_proxy environment variable in order to access some url from command-line.</div>
<div></div>
<div><strong>Windows Command line</strong></div>
<div>set http_proxy=http://your_proxy:your_port</div>
<div>set http_proxy=http://username:password@your_proxy:your_port</div>
<div>set https_proxy=https://your_proxy:your_port</div>
<div>set https_proxy=https://username:password@your_proxy:your_port</div>
<div></div>
<div><strong>Windows GUI</strong></div>
<div>1. Open the Control Panel and click the System icon.The System Properties dialog is displayed.</div>
<div>2. On the Advanced tab, click on Environment Variables. The Environment Variables dialog is displayed.</div>
<div>3. Click New in the System variables panel. The New Sytem Variable dialog is displayed.</div>
<div>4. Add http_proxy with the appropriate proxy information</div>
<div></div>
<div><strong>Windows Registry</strong></div>
<div>IE can set username and password proxies, so maybe setting it there and import does work</div>
<div></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyEnable /t REG_DWORD /d 1</div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyServer /t REG_SZ /d name:port</div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyUser /t REG_SZ /d username</div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyPass /t REG_SZ /d password</div>
<div>netsh winhttp import proxy source=ie</div>
<div></div>
<div><strong>Command to enable proxy usage:</strong></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyEnable /t REG_DWORD /d 1 /f</div>
<div></div>
<div><strong>Command to disable proxy usage:</strong></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyEnable /t REG_DWORD /d 0 /f</div>
<div></div>
<div><strong>Command to change the proxy address:</strong></div>
<div>reg add &#8220;HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings&#8221; /v ProxyServer /t REG_SZ /d proxyserveraddress:proxyport /f</div>
<div></div>
<div><strong>Linux </strong></div>
<div>export http_proxy=http://your_proxy:your_port</div>
<div>export http_proxy=http://username:password@your_proxy:your_port</div>
<div>export https_proxy=https://your_proxy:your_port</div>
<div>export https_proxy=https://username:password@your_proxy:your_port</div>
<div>export https_proxy=https://%username%:%password%@your_proxy:your_port</div>
<div></div>
<div><strong>FAQ</strong></div>
<div>1. How to escape if password has a @ character</div>
<div>Ans &#8211; try %40 instead of @</div>
<div></div>
<div>2. What is the file name where it stroed the proxy in Ubantu</div>
<div>Ans &#8211; /etc/environment</div>
<div></div>
<div>3. How to set proxy inforamtin in Apt?</div>
<div>Ans &#8211; Adding following line to /etc/apt/apt.conf has solved the problem:</div>
<div>Acquire::http::proxy &#8220;http://10.1.3.1:8080/&#8221;;</div>
<div>If file does not exist, create it. Do not confuse it with apt.conf.d directory.</div>
<div></div>
<div>4. How to set proxy inforamtin in linux Profile?</div>
<div></div>
<div>5. Why manual export failed to affect apt-get with the proxy info?</div>
<div>Ans &#8211; The reason your manual export failed to affect apt-get is because sudo ignores that environment variable by default (i.e. it doesn&#8217;t pass it on to the command). For one-off runs, you could do sudo env http_proxy=http://10.1.3.1:8080 apt-get update. Otherwise, you could configure sudo to allow http_proxy to fall through.</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/">How to Set or Configure Proxy in Linux and Windows System? &#8211; scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/setting-the-proxy-configuratin-in-linux-and-windows/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
