Explain the general purpose of the firewall

Assignment Help Computer Network Security
Reference no: EM13934180

Question 1 - The following "firewall" script is run on a "gateway" machine-

1 echo 1 > /proc/sys/net/ipv4/ip_forward
2
3 iptables -F
4 iptables -X
5
6 iptables -P INPUT DROP
7 iptables -P OUTPUT ACCEPT
8 iptables -P FORWARD DROP
9
10 iptables -A INPUT -i lo -j ACCEPT
11 iptables -A INPUT -i eth1 -s 192.168.48.0/24 -j ACCEPT
12 iptables -A INPUT -i eth0 \
13 -m state --state RELATED,ESTABLISHED -j ACCEPT
14
15 iptables -A FORWARD -i eth1 -s 192.168.48.0/24 \
16 -m state --state NEW -j ACCEPT
17 iptables -A FORWARD -m state \
18 --state RELATED,ESTABLISHED -j ACCEPT
19
20 iptables -t nat -F
21 iptables -t nat -X
22
23 iptables -t nat -A POSTROUTING -o eth0 -s 192.168.48.0/24 \
24 -j SNAT --to-source 147.20.53.71Using the script above answer the following questions:

a. Explain, in your own words what a "gateway" machine is and what it is used for.

b. Explain the general purpose of the firewall above. Your explanation should include a description of the networks the gateway machine is connected to and how it is connected.

c. Explain in detail how each rule of this script is filtering the network traffic on this machine.

d. There are two rules for the FORWARD chain in the above script. Explain how iptables knows a packet is to be forwarded and must apply these rules.

e. The last rule in the script modifies the POSTROUTING chain of the NAT table. What is the POSTROUTING chain and why are SNAT rules applied to this chain?

Question 2 - As the system administrator you would like to SSH to a gateway machine (see Exercise 1) from off-site. Unfortunately that would mean opening the SSH port to the world-and you would rather not do that.

A friend tells you of the dæmon knockd that can temporarily open a port for quick access.

Install knockd and configure it to open a temporary hole in a firewall using a "single" knock.

Your write-up will need to include the following:

a. A couple of paragraphs in your own words describing how knockd works.

b. A couple of paragraphs in you own words describing the security flaws in the knockd approach to opening a temporary hole in a firewall. Hint: Read about Single Packet Authorisation methods.

c. The configuration file or files you needed to modify to open a temporary hole in a firewall using a "single" knock. Include an explanation in your own words of the purpose of every line in the configuration file or files.

d. The firewall on the machine. Use the output from the command iptables -L -v to show that the machine has been firewalled.

e. Output showing that knockd worked. A successful SSH session and the output from the command iptables -L-v to show the hole that knockd has created in the firewall.

Question 3 - In about a page, explain in your own words what a VPN is, what it is used for and how it works.

Your explanation should include:

• examples of where a VPN may be useful,

• the various technologies that can be used to establish a VPN. For example, IPsec and IKE (racoon dæmon), SSL/TLS VPNs
(openvpn), PPTP, and the venerable PPP with SSH.

Do not discuss proprietory solutions, for example, Checkpoint, Cisco Concentrators, etc.

Reference no: EM13934180

Questions Cloud

Manufacturing or public sector organisations : Task: In this assignment you are required to undertake research (literature review with at least 10 quality references. Quality in this assignment refers to peer reviewed/refereed journal articles) and present your findings on "Issues posed to ERP..
Companies that sell groceries over the internet : Feasibility Study: Companies that sell groceries over the Internet are called e-grocers. Customers enter their orders, pay by credit card and receive delivery by truck. To determine whether an e-grocery would be profitable in one large city, a pot..
What do you think the outcome should have been : What do you think the outcome should have been for the Phoenix Four?
Determine the required pressure on the diameter piston : Determine the force in hydraulic cylinder AB for the position shown if the tree weighs 6000 lb. Determine the required pressure on the 4.72-in. diameter piston of the cylinder.
Explain the general purpose of the firewall : Explain the general purpose of the firewall above. Your explanation should include a description of the networks the gateway machine is connected to and how it is connected
How to assess runtime of recursive algorithms : Design a recursive O(n) algorithm that checks whether the given sorted array contains two equal elements. Remark. In this module we do not systematically learn how to assess runtime of recursive algorithms.
Critical value from normal distribution : Using the above RSAC and RSPAC, calculate the corresponding krs , krt , kk rs , kk rt k = 1, 2, 3, 4 5, 6, to identify a model describing ηt .Explain your choice of model. Please also provide the new model for STAT S802F - Multivariate and Time Se..
Substantial economic and social impact in australia : Topic:The drug "ice" is currently having a substantial economic and social impact in Australia. Outline the main problems caused, and suggest some measures to reduce the influence of this illicit drug in Australia.
Explain way that group members responded to initial stage : Post by Day 3 a description of the leadership style you observed. Explain how the leader creates safety establishes the norms of the group including confidentiality, and engages members.

Reviews

Write a Review

Computer Network Security Questions & Answers

  Determination of the legal and ethical issues of seizure

A determination of the legal and ethical issues of seizure, handling, and investigating electronic evidence such as data and information contained on smartphones, flash drives, etc.

  Analyze the impact of security breaches

Each team has to select a particular security breach that happened in the recent past. You need to search the Internet to find a security breach that you can analyze. Once a team selects a particular security breach to work on, other teams cannot ..

  Use private key to decrypt the cipher text

Using blocks of 4 encrypt the message I AM AN MSC STUDENT MAJORING IN SECURITY using the public key above. Similarly use the private key above to decrypt the cipher text.

  What is the value of the symmetric key

In the Diffie-Helman protocol, what happens is x and y have the same value, that is, Alice and Bob accidentally chosen the same number? Are R1 and R2 same?

  Demonstrate a good cryptanalysis process

Discuss your cryptanalysis process as you attempt to decipher the message. Note - it is more important that you demonstrate a good cryptanalysis process than that you are able to decrypt the message.

  Discuss specific malware and social engineer attacks

Discuss specific malware, social engineer, or any other type of attacks you would deploy to achieve your desired goals

  Compare x.509 pki and pgp pki in different aspects

Compare X.509 PKI and PGP PKI in different aspects, e.g. Certs format, user identification, key management, scalability, usage, applications, business models, etc.

  Cybersecurity research paper

Identifying and explaining how the breach occurred and identifying and discussing known or suspected losses of confidentiality, integrity, and availability for information and/or information systems

  Evaluate quality of security offered by micropayment system

Briefly describe how it works. Evaluate the quality of security offered by this micropayment system and evaluate one such micropayment system.

  Technical versus soft skills

Suppose that there is some consensus with basic premise that most skills can be learnt, which would you expect to be the more productive task,

  Discuss some of the problems nats create for ipsec security

Discuss some of the problems NATs create for IPsec security. (See [Phifer 2000]). Can we solve these problems by using IPv6? Why deployment of IPv6 has been slow to date. What is needed to accelerate its deployment?

  How modify network''s dns zones or records

modify your network's DNS zones or records

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd