LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05: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, 07:12 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What's the current rule-set? Any answer will depend on the existing policies.
 
Old 04-05-2013, 02: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



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 04:56 AM
CiscoVPN - stateful firewall? Nigel_Tufnel Linux - Networking 11 02-14-2007 08:13 PM
Stateful Packet Inspection Firewall (How could I tell)?? wardialer Linux - Security 9 02-10-2005 09:11 PM
Is router plus stateful firewall enough? jxi Linux - Security 3 10-04-2003 08:22 AM
Ipfw advances stateful rules and natd J_Szucs Linux - Networking 0 05-05-2003 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 AM.

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
Open Source Consulting | Domain Registration