Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network Access behind corporate firewall proxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
scharkalvin
Guru
Guru


Joined: 31 Jan 2004
Posts: 331
Location: south florida

PostPosted: Thu Mar 24, 2005 4:51 pm    Post subject: Network Access behind corporate firewall proxy Reply with quote

I'd like to install Gentoo on a computer at my office.. However all
internet access is behind a firewall proxy. I can set up FireFox to
work this way, in the proxy settings I need to give the local lan
address and port number. ALL protocols are sent via port 8080.
Whenever I start Firefox it pops up a message box asking for
my user id and password before the proxy will let me get to the
net. This works well under a Redhat Enterprise Linux clone (white box).
However as far as I can tell there is no way to get command line
FTP to work through the proxy.

IS there a way to setup a Gentoo box so it will install through such
a firewall proxy? I suppose I could get the basic system installed
via a stage 3 tarball and GRP cd. But after that, how can I setup
portage to work behind such a firewall proxy?

(maybe I'd have to manually download all required files via firefox
before running portage to build the package, but SOMEHOW I'd have
to get portage to spitout the URLs and filenames for me to download)
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Mar 24, 2005 8:15 pm    Post subject: Reply with quote

Quite simple, really: you can use web-rsync to sync via HTTP, and source package targets have HTTP mirrors as well.
Just pick only HTTP mirrors and you should be good.

Portage does not connect to the net to get URLs; they are synced, which you can do over HTTP as well.

If you emerge --pretend you will get a list which you can then download from wherever.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
dieterv
n00b
n00b


Joined: 05 May 2004
Posts: 59
Location: Wervik, Belgium

PostPosted: Thu Mar 24, 2005 9:27 pm    Post subject: Reply with quote

no need to manually download anything :P

to sync your portage tree, use emerge-webrsync as suggested by adaptr.

to emerge packages, do:
as a user that's in the portage group, otherwise as root:
Code:
export http_proxy="http://username:password@proxy:port"
export ftp_proxy="http://username:password@proxy:port" (yup, thats http in there)
emerge --fetchonly target
unset http_proxy
unset ftp_proxy
echo > ~/.bash_history (if you don't want your proxy username/password recorded in plaintext in some file)

then as root:
Code:
emerge target
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum