On Fri, Jan 17, 2003 at 05:30:56PM +0100, Vasyl Kenyuk wrote:
> # Default Policy I/O DROP
> >ipchains -P INPUT DENY
> >ipchains -P OUTPUT DENY
> >
> ># Rules
> >ipchains -A INPUT -i eth0 -p tcp -d my_ip --dport 80 -j ACCEPT
> >ipchains -A OUTPUT -i eth0 -p tcp -d my_ip --dport 80 -j ACCEPT

The last rule is only going to allow outbound traffic which is destined for
your own PC . . . that's not really going to help you that much.  I really
suggest that you check out
http://www.netfilter.org/documentation/HOWTO//packet-filtering-HOWTO.html
for more information about configuration of iptables.

- jkt

-- 
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*
Jay Turner, QA Manager          [EMAIL PROTECTED]               Red Hat, Inc. 

      No amount of experimentation can ever prove me right;
      a single experiment can prove me wrong.   -- Albert Einstein 



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to