[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables and apt-get



I am using http to security.debian.org and mirror.ac.uk. When opening up
port 80(http) it makes no difference. I think this is beacause I am not
running a service to connect i.e. connecting to port 80 on a remote system
from an unprivalged port  >1024? Does this mean it will use a different port
every time?


> Hi !
>
> It depends how you fetch your packages. Ftp or http ?
> You have thus to open either the 80(http) or 21(ftp) port as well. Maybe
> you can also limit this to your mirror only, and not to everybody.
>
> Note: If you log the packets you drop, you can take a look on the logs,
> and you'll see why your connexion is blocked...
>
> Hoping this helps you.
>
>
> On Tue, Mar 11, 2003 at 12:45:48AM -0000, Ian Goodall wrote:
> > Hi Guys,
> >
> > I am setting up iptables on my debain woody box. I have decided to close
everyting and then open up just ssh and ssl. This obviously prevents my
apt-get update from working. What ports do I need to open for this to work.
If it helps I am going through a proxy to get to the internet.
> >
> > Thanks
> >
> > ijg0
> --
>    __o
>  _`\<,_  Marc Demlenne                   Public Key on www.keyserver.net
> (_)/ (_) GPG/768FA483 BFD8 E61B 180C 3E7A 3435  D393 B605 9979 768F A483



Reply to: