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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello.
I like to learn iptable and write my rules but I guess it is hard to learn. I found some documents but...I need a cheat sheet that explain it for me from basic. For example, Tell me what does "A","p","m" mean, "dport" and "state", "j","i","FORWARD","OUTPUT" and...
Try to gradually acclimate to the manual pages in cases like this. It's a good reference document where you can look up things like that quickly.
Code:
man iptables
man iptables-extensions
man man
You can search a manual page with / and ? for forward and backward searches respectively. Don't worry about trying to read the whole manual page, it's a reference not a novel.
It has a good amount of background material. But it's a bit out of date in regards to the options and the manual pages are more authoritative in regards to the options themselves.
I would say unless you have a real reason to learn iptables, I would probably learn Nftables (wikioedia) instead. I heard that is suppose to replace iptables someday. BTW I am far from an expert on either, but this is what I have been hearing
I would say unless you have a real reason to learn iptables, I would probably learn Nftables (wikioedia) instead. I heard that is suppose to replace iptables someday. BTW I am far from an expert on either, but this is what I have been hearing
I would say unless you have a real reason to learn iptables, I would probably learn Nftables (wikioedia) instead. I heard that is suppose to replace iptables someday.
Emphasis on the 'someday'. I've been hearing that since around 2009 or so, and there really isn't a definitive timetable for it to happen, as far as I know. There was a brief flurry of activity around when it looked like Xtables might make the great leap forward, but recently not so much.
Unless you really have some more info about when Nftables might become mainstream, I wouldn't put off learning iptables for it.
As far as references are concerned the 'frozentux' one is good (but somewhere between a manual and a tutorial...and not a short piece of work that you'll finish reading over coffee), and the iptables man pages are among the better man pages, being more readable than most.
If you'd prefer reading through someone's worked example, I'm also fond of this in spite of it being relatively old now.
I'll second the link that Turbocapitalist posted. This is what I used to learn IPTABLES back in the day. today you will need to look at the man pages also to get an up to date view of the new commands.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.