LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-09-2011, 07:56 AM   #1
spenser.w
LQ Newbie
 
Registered: May 2011
Posts: 6

Rep: Reputation: 0
Question Policies- i need help with this practice question before my exam!!!


HI EVERYONE I NEED HELP WITH THIS POLICY AND CONTROLS PRACTICE QUESTION BEFORE MY EXAM, IF YOU COULD TELL ME THE COMMANDS TO HELP ME OUT I WOULD BE SO GRATEFUL. AS YOU CAN THE FORMATTING FOR THE NETWORK DIAGRAM IS AWFUL BUT A ROUGH OUTLINEOF THE COMMANDS WOULD BE USEFUL. THANKS GUYS!


Code:
W 172.28.95.32/28 --+------------+-------------+-- tap | | | 146.227.150.0/24 |.42 |.41 |.46 +----------------- +-----+ +-----+ +-----+ | | m2 | | m1 | | m19 | .55 | +-----+ +-----+ | |--------+ +-----+ | X | 172.28.96.64/26 | .254 +----+ 146.227.2.1 --+------------+-------------+-- +----------|gw1 |-- Internet ->>> | | | | (eth1)+----+(eth0) |.107 |.106 |.105 | +-----+ +-----+ +-----+ | | m7 | | m6 | | m5 | .56 | +-----+ +-----+ | |--------+ +-----+ | Y | 172.28.97.168/29 | .220 +-----+ --+------------+-------------+-- +----------|dns1 | | | | | +-----+ |.173 |.172 (eth0)|.171 | +-----+ +-----+ +-----+ | | m13 | | m12 | | m11 | .57 | +-----+ +-----+ | |--------+ +-----+(eth1) | Z | 172.28.98.128/25 | --+------------+-------------+-- | | | | | |.235 |.234 |.233 | +-----+ +-----+ +-----+ | | m17 | | m16 | | m15 | .58 | +-----+ +-----+ | |--------+ +-----+ |
In the network diagram Fig B1, gw1 is an exterior firewall of an organisation, implemented in Linux. In the following descriptions:
- "inbound" refers to traffic arriving from the Internet, to gw1 on eth0.
- "outbound" refers to traffic leaving for the Internet, from gw1 on eth0.
Organisational policy includes the following statements:
- only machine dns1 may make outbound DNS requests (UDP port 53) to the Internet and get back the associated replies.
- no other inbound or outbound UDP traffic is permitted.
Using the "iptables" instruction, construct firewall rules to implement controls that will enforce these policy statements. Note that for the purposes of this exam question, it is acceptable (even desirable) to lay each rule out on several lines where each line represents a logical chunk within the overall rule. Leave a blank line between each rule.

Last edited by spenser.w; 05-09-2011 at 09:49 AM.
 
Old 05-09-2011, 08:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Sorry, no. We aren't here to do your work for you, especially given the state of what you've posted. You need to ask specific tagergeted questions, not just cut and paste entire things in here.

btw, see that rectangular button near your little finger on your left hand? The one with "Caps Lock" written on it? Press it.
 
Old 05-09-2011, 09:21 AM   #3
spenser.w
LQ Newbie
 
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
Sorry, no. We aren't here to do your work for you, especially given the state of what you've posted. You need to ask specific tagergeted questions, not just cut and paste entire things in here.

btw, see that rectangular button near your little finger on your left hand? The one with "Caps Lock" written on it? Press it.
Well as it's a question, I thought a genuine, non-selfish, kind person would be able to help me with this question to put me on the right tracks. As I clearly did state I am aware the diagram is messy. But in all respects, i'm just looking for some basic Linux commands relating to iptables that set networking policies. Clearly 'acid_kewpie' you either have no idea how to answer this question or your just a inconsiderate nerd that like to demoralise people. Caps Lock? no shit, you're just full of wisdom.
 
Old 05-09-2011, 09:30 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Start by editing your post and putting "[code]" tags aroung the network layout and it might start making some sense.
 
Old 05-09-2011, 09:49 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
But in all respects, i'm just looking for some basic Linux commands relating to iptables that set networking policies.
Have you tried reading iptables tutorials, eg: http://wiki.centos.org/HowTos/Network/IPTables

Not providing you with answers is not being selfish. You'll benefit much more if you research the problem yourself (read tutorials/documentation) and ask specific questions when you're stuck at some point.


When you enter a community like Linuxquestions, it'd be advisable to respect its rules. Have a look at:
http://www.catb.org/~esr/faqs/smart-questions.html
Quote:
Clearly 'acid_kewpie' you either have no idea how to answer this question or your just a inconsiderate nerd that like to demoralise people. Caps Lock? no shit, you're just full of wisdom.
Having an unjustified go at an LQ member (especially a moderator) will not help you get a response.
 
Old 05-09-2011, 10:01 AM   #6
spenser.w
LQ Newbie
 
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sycamorex View Post
Have you tried reading iptables tutorials, eg: http://wiki.centos.org/HowTos/Network/IPTables

Not providing you with answers is not being selfish. You'll benefit much more if you research the problem yourself (read tutorials/documentation) and ask specific questions when you're stuck at some point.


When you enter a community like Linuxquestions, it'd be advisable to respect its rules. Have a look at:
http://www.catb.org/~esr/faqs/smart-questions.html

Having an unjustified go at an LQ member (especially a moderator) will not help you get a response.
It's hardly unjustified is it? If a LQ member (in this case a moderator) feels that it is their duty to patronize people trying to progress in their life, by making unecessary remarks, then you tell me what is justifiable? A clear and simple answer could have been given without being fosecious... But as I got some information from the moderator to tidy up my enquiry I am grateful, and this is the sort of good communication I was expecting
 
Old 05-09-2011, 10:06 AM   #7
spenser.w
LQ Newbie
 
Registered: May 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you, for the link. This is useful to me and non-patronizing, this is all i wanted. I may be new this site but i am sure familiar with forumns and didn't expect this LQ's.
 
  


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
how to set facilities on home pc to practice RH 133 & RH 253 for RHCE exam s_linux_prof Linux - Newbie 3 06-05-2010 09:34 AM
Realtime Environment to practice for RHCE (RH302) exam pandora3 Linux - General 4 04-11-2010 05:42 PM
redhat exam practice question irshadvengad Red Hat 2 08-03-2009 06:59 AM
Slashdot policies question vharishankar General 2 08-02-2005 10:03 PM
practice on RHEL3 or redhat9 for RHCE exam tanveer Linux - Certification 1 04-18-2005 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:57 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