[Wolves] iptables & apt-get
Ron Wellsted
wolves at mailman.lug.org.uk
Thu Feb 27 22:30:01 2003
On Thursday 27 Feb 2003 2:58 pm, Old Dan wrote:
> Aquarius wrote:
> > Old Dan spoo'd forth:
> >>All *seems* well - I've done an extensive script and we've not had too
> >>many problems with the server since I implemented it - I just have one
> >>problem, apt-get.
> >>
> >>I've tried ACCEPTing all the relevant ports on the INPUT chain I can
> >>think of - 80, 8080, 21, 53.... Nothing. Nada. Konqueror run locally,
> >>though, works a charm.
> >>
> >>Am I missing something obvious? I'll post the script if people want...
> >
> > Am I being thick here? apt-get just doesn't work?
>
> Yes, apt-get just doesn't work. DNS works. It just sticks, won't
> download any data.
>
> It gets stuck at 0%.
>
> Is Konqueror using a
>
> > proxy server rather than direct connection?
>
> No. It's direct.
>
> Try w3m or something and
>
> > see if that works. (Also, if you've set up a HTTP_PROXY envar in your
> > .bashrc or something, it won't be there when you apt-get as root.)
>
> I haven't.
Assuming youare using a ftp mirror, apt-get try using passive mode ftp. Try
editing /etc/apt/apt.conf and set Acquire::Passive to "true", otherwise try a
http mirror...
--
Ron Wellsted
http://www.wellsted.org.uk
mailto:ron@wellsted.org.uk