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

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
2. INPUT
3. OUTPUT

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s