|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
paras wrote:
hi allWrong order of rules. You must add -P INPUT DROP after all rules, or use -I (insert).
I have default policy to DROP on one machine. but i want the web server (80) to be accessed from the internet but it is not working with the following script. help plz.
iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -m state --state NEW -j ACCEPT
[Home] [Fedora Announce] [Linux Crypto] [Kernel] [Netfilter] [Video for Linux] [Bugtraq] [USB] [Network Security] [Fedora Security]
![]() |
![]() |