# Default Policy I/O DROP iptables -P INPUT DROP iptables -P OUTPUT DROP # Rules iptables -A INPUT -i eth0 -p tcp -d your_ip --dport 80 -j ACCEPT iptables -A OUTPUT -o eth0 -p tcp -d your_ip --dport 80 -j ACCEPT thx .dave ps. I'm not really sure about what you ask for ----- Original Message ----- From: "vasyl" <vasyl@web.de> To: <psyche-list@redhat.com> Sent: Thursday, January 16, 2003 6:09 AM Subject: Iptables > Hi! > How can I using iptables deny anything incoming and outgoing except port > 80 for Internet and Apache? > Thanks! > Vasyl > > > > -- > Psyche-list mailing list > Psyche-list@redhat.com > https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list Psyche-list@redhat.com https://listman.redhat.com/mailman/listinfo/psyche-list