doep100
Posts: 5
Joined: Thu Nov 17, 2011 10:51 am

Corporate network internet proxy setup.

Fri Jun 22, 2012 12:47 pm

Hi all.
I hope this is in the right place...
I recently got my Pi and got it running headless on my corporate network. Using Debian squeeze and SSH'ing into it from a Windoze PC. I need to set up the Pi to access internet through our web proxy which requires authentication. How do I go about this? As it is now, I can ping anything on the local network and can also resolve web addresses like www.google.com etc. I need to find where to set it up with my proxy username and password (which changes every month). Please point me in the right direction.

Regards
Doep

User avatar
RaTTuS
Posts: 10748
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Corporate network internet proxy setup.

Fri Jun 22, 2012 1:55 pm

Put this line at the end of your ~bashrc file :
export http_proxy=http://username:password@proxyserver.net:port/
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Corporate network internet proxy setup.

Fri Jun 22, 2012 2:04 pm

...or if your corporate proxy needs NTLM authentication, you might need to use http://ntlmaps.sourceforge.net/ or http://cntlm.sourceforge.net/
(I haven't used either myself, as I'm not on a corporate network, I've just seen them mentioned on other forums)

Return to “Beginners”