LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2013, 06:37 PM   #1
malo
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Help with stateful firewall rules


Hello,

I need help on how to set up a stateful iptable firewall rule for the following security policy....

Computers with interfaces on 10.20.0.0/16 can ping and traceroute to any computer.
 
Old 04-04-2013, 08:12 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What's the current rule-set? Any answer will depend on the existing policies.
 
Old 04-05-2013, 03:32 AM   #3
jitendra.sharma
Member
 
Registered: Mar 2013
Location: ahmedabad
Distribution: CentOS, Ubuntu, Debian
Posts: 92
Blog Entries: 1

Rep: Reputation: Disabled
@@ for INBOUND ICMP PACKATES @@
#iptables -I INPUT -s 10.20.0.0/16 -p icmp -j ACCEPT

@@@ for OUTBOUND ICMP PACKATES @@@
#iptables -I OUTPUT -s 10.20.0.0/16 -p icmp -j ACCEPT

#service iptables save; service iptables restart
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are IPtables a stateful firewall? abefroman Linux - Security 1 08-06-2008 05:56 AM
CiscoVPN - stateful firewall? Nigel_Tufnel Linux - Networking 11 02-14-2007 09:13 PM
Stateful Packet Inspection Firewall (How could I tell)?? wardialer Linux - Security 9 02-10-2005 10:11 PM
Is router plus stateful firewall enough? jxi Linux - Security 3 10-04-2003 09:22 AM
Ipfw advances stateful rules and natd J_Szucs Linux - Networking 0 05-05-2003 02:41 PM


All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration