Re: Ipchains

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

 



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          jkt@redhat.com               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
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux