1 |
On Friday 09 January 2009 20:40:33 Grant wrote: |
2 |
> > You could use iptables to block all traffic headed to port 80 with |
3 |
> > exceptions for the domains you need. |
4 |
> |
5 |
> Would that cause problems with fetching packages for emerges? |
6 |
|
7 |
If you wget your packages using http, then yes. You could then: |
8 |
|
9 |
1. Put all your mirror sites in the exception list. This can get tedious as |
10 |
some ebuilds list many mirrors for sources |
11 |
|
12 |
or |
13 |
|
14 |
2. wget using ftp |
15 |
|
16 |
or |
17 |
|
18 |
3. set up a proxy |
19 |
|
20 |
The easiest is #2 by far |
21 |
|
22 |
-- |
23 |
alan dot mckinnon at gmail dot com |