Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2007 00:13:57 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: configuring network connection via proxy
Message-ID:  <20070519001357.490b5832@gumby.homeunix.com.>
In-Reply-To: <f2in14$gos$1@sea.gmane.org>
References:  <f2in14$gos$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 May 2007 01:04:04 +0200
martinko <gamato@users.sf.net> wrote:

> Hello,
> 
> I need to plug my company laptop in to different networks many of
> which make use of some sort of proxy for accessing the internet.  And
> every time I face this challenge of changing connection settings of
> different applications in many places.  This is of course very
> inconvenient.
> 
> What I would like to be able to do is to change the connection
> settings regarding a proxy in one place and have it affect all my
> applications. 

The traditional way is through environmental variables, but lot of GUI
applications wont respect them, and it wouldn't work smoothly
without a reboot anyway. 

I would suggest you use some kind of local proxy, either a full
caching http level proxy like squid, or a simple TCP redirection. You
can then point your apps at a localhost port, and just reconfigure the
proxy. Take a look at the www and net ports for proxies.

A lot of applications support automatic proxy discovery, which might be
an alternative.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070519001357.490b5832>