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

Re: iptables and apt-get



On Tue, 11 Mar 2003 14:48:20 -0000
"Ian Goodall" <ijg@iangoodall.co.uk> wrote:

> All is fine now. Adding the line:
> 
> iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> 
> fixes the problem. Does anyone know what this line does? I found this using
> an online script generator at http://www.iptables.1go.dk/index1.php.

it accepts traffic back over the socket already created, so if you allow a connection from your machine to other_machine:80 this rule allows other_machine:80 to talk back to you (iaw give you an answer) over the same socket. 



Reply to: