Re: Iptables

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

 



# 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

[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