Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2012 17:24:24 +0200
From:      =?UTF-8?Q?Istvan_Gabor?= <suseuser04@lajt.hu>
To:        freebsd-questions@freebsd.org
Subject:   proxy setup
Message-ID:  <2f649b2d.5934b132.5072f028.6dfd0@lajt.hu>

next in thread | raw e-mail | index | archive | help
Hello:

My=20FreeBSD=209.0-RELEASE=20system=20is=20behind=20a=20institutional=20f=
irewall.
Obviously=20I=20can=20not=20change=20any=20settings=20of=20this=20firewal=
l.
After=20installing=20FreeBSD=20and=20not=20setting=20any=20proxy=20server=
s=20I=20could=20install
packages=20using=20pkg=5Fadd=20-r=20command.
But=20when=20I=20tried=20to=20update=20the=20system=20freebsd-update=20fe=
tch=20stopped.
I=20traced=20that=20it=20stopped=20because=20getting=20the=20file=20throu=
gh=20ftp=20failed:
(with=20"failed:=20Connection=20refused:=20messages").
Therefore=20I=20have=20set=20http=5Fproxy=20and=20ftp=5Fproxy=20variables=
=20in=20my=20.profile=20file.
After=20this=20the=20update=20ran=20without=20any=20problem.
But=20now=20pkg=5Fadd=20-r=20refuses=20to=20fetch=20files=20with=20messag=
e:
Error:=20Unable=20to=20get=20ftp://ftp.freebsd.org/pub/FreeBSD....:=20For=
bidden
wget=20with=20--no-proxy=20option=20can=20fetch=20the=20file,=20that=20is=
=20the=20problem=20
for=20pkg=5Fadd=20is=20probably=20the=20configured=20http=20or=20ftp=20pr=
oxy.
How=20can=20fix=20this=20so=20that=20I=20should=20not=20every=20time=20se=
t/unset=20proxy=20when
I=20want=20to=20update=20the=20system=20or=20install=20a=20package?

Thanks,

Istvan




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2f649b2d.5934b132.5072f028.6dfd0>