Ipchains

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

 



Hi!
I'm using RedHat 7.3, and I would to allow only www input/output traffic (no ftp, telnet, ssh, etc.). There are no reason to do that, but I wonna learn more about firewalls. So I got the answer, I must make

# 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
So, but it does not works.
Have enyone an idea, why? I'm using Apache as Web Server.
Thanks, Vasyl






--
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