What Is Iptables Hown Many Types Of Iptables And Some Basic Commands Of Iptables

Our Score
Click to rate this post!
[Total: 0 Average: 0]

In This Tutorial We Are Going To Learn What Is Iptables How Many Types Of Iptabls Are There And Some Basic commands Of Iptables

Firstly I Will Tell You What Is Iptables 

Iptables Means The Firewall

Iptables Are Of Three Types

1. Filter
2. Nat
3. Mangle

Most Off The Time And In This Three Type Of iptables Most Of The Time We All Use The Filter And The Nat And Mangle Are Used Also But Sometime The Are Used Most Of The Time All Use Filter

In Filter There Are Three Types 

1. Forwarding

In Filter Nost Of The User Use INPUT And OUTPUT The Use Of Forwarding Is Very Less

If You Have To Allow Or Block Some Network Or Perticular Ip For Doing Some Server Configuration So At That Time We Use INPUT And OUTPUT

Here You Can Check The Picture Also

Here Are Some Bassic Commands Of Iptables Means Firewall

#service iptables save {If You Do Some Changes In Firewall Conf File Or In Firewall So We Have To Save The File First This Is The Command To Save That Iptables File}

#service iptables start { To Start The firewall}

#service iptables restart { To Restart The firewall}
#service iptables stop { To Stop The firewall}
#chkconfig iptables on 
#chkconfig iptables off

Here Is The Configuration File Of Iptables {Firewall}

Configuration File Of Iptables Version 4

#/ect/sysconfig iptables

Configuration File Of Iptables Version 6

#/ect/sysconfig ip6tables

Now How To Turn Off The Firewall And How To Check Firewall Is On Of Off The Firewall

#iptables -L {To Check The Status Of Firewall}
#iptables -F {To turn OFF The Firewall}

Leave a Reply