LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Behind a corp firewall (https://www.linuxquestions.org/questions/linux-networking-3/behind-a-corp-firewall-173033/)

cuco76 04-21-2004 05:50 PM

Behind a corp firewall
 
Hello!

I just got a new job and finally got my second box for linux. YEAH!

Well, I am behind a corporate firewall. I configured the browser to get out and I have no prblems. My issue is getting out through VI or using yum or apt or anything that may access the outside world that does not get it's settings from the browser. Does anyone know the files I should edit with my corporate settings so that I can get out?

Thanks in advance!

jspaar 04-21-2004 06:26 PM

You want to play with the http_proxy environment variable -- set it to whatever you used in the browser proxy setting. See this link, for example: Using apt-get through a Proxy

I dug that up in 15 seconds by googling on "http_proxy" and "apt". Have fun.

cuco76 04-21-2004 06:56 PM

apt-working
 
Thanks for the info! It worked. I was curious though. Would I put that variable in the /etc/profile so that all users would get it? Just curious.

Thanks

jspaar 04-21-2004 07:48 PM

Cool. Yeah I think putting it in /etc/profile is a typical way to set the proxy for all users.

Sometimes corporate intranet sites (or other internal web servers) are not available through the proxy used to access the Internet at large. So in your browser you might have to fill in the equivalent of Mozilla's "No proxy for: " to include .mycompany.com. You probably know this already, just being thorough. ;-)


All times are GMT -5. The time now is 08:19 AM.