iptables: why do I want INPUT rule 3 (built by firestarter)
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
iptables: why do I want INPUT rule 3 (built by firestarter)
My system works fine but I'm confused about what firestarter built for me.
sudo iptables --line-number -nL INPUT
Chain INPUT (policy DROP)
num target prot opt source destination
1 ACCEPT tcp -- 192.168.0.1 0.0.0.0/0 tcp flags:!0x17/0x02
2 ACCEPT udp -- 192.168.0.1 0.0.0.0/0
3 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
4 LSI udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:33434
5 LSI icmp -- 0.0.0.0/0 0.0.0.0/0
6 DROP all -- 0.0.0.0/0 255.255.255.255
7 DROP all -- 0.0.0.0/0 192.168.0.255
8 DROP all -- 224.0.0.0/8 0.0.0.0/0
9 DROP all -- 0.0.0.0/0 224.0.0.0/8
10 DROP all -- 255.255.255.255 0.0.0.0/0
11 DROP all -- 0.0.0.0/0 0.0.0.0
12 DROP all -- 0.0.0.0/0 0.0.0.0/0 state INVALID
13 LSI all -f 0.0.0.0/0 0.0.0.0/0 limit: avg 10/min burst 5
14 INBOUND all -- 0.0.0.0/0 0.0.0.0/0
15 LOG_FILTER all -- 0.0.0.0/0 0.0.0.0/0
16 LOG all -- 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 6 prefix `Unknown Input'
QUESTION: Rule 3 looks like it acecpts bloody EVERYTHING so that all following lines are superfluous.
What don't I understand about iptables???? That's my question. Can't find anything in the tutorials I've found.
Same line exists in the OUTPUT chain.
But!?! It seems to be working ok!?! Howcum????
And there seems to be no change with
iptables -D INPUT 3
Wierd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.