top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between a Gateway and a Firewall and how do they relate to one another?

+1 vote
972 views
What is the difference between a Gateway and a Firewall and how do they relate to one another?
posted May 29, 2016 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

3 Answers

+3 votes

SIMPLE ANSWER:
As the titles imply.
The Gateway is a "GATE"
The Firewall is a "WALL"

A gateway is used by a computer network as a "gate/doorway" to access another network. It is usually a hardware device (router) with a specific network (IP) address that is used in the network configuration for those tasks that require access outside your local network such as another network or that worldwide network, the internet. If for any reason it is not working (hardware failure, incorrect configuration, etc.) you will see errors that the other network is "inaccessible".

A Firewall is a software and/or hardware device that acts as a protective wall between your device/network and the outside networks. It can be configured to let all traffic have inbound access or only certain traffic from specified networks or IP addresses. Some only protect from things trying to get in while others also can restrict traffic/communication going outward (like software or a virus trying to "call home"). This two way protection is best.

How they relate? Very different components. You will NEED a gateway to access other networks. You CAN function without a firewall but run the risk of intruders getting in to your network The best combination is a good firewall (I use Free ZoneAlarm) AND a good virus program (I use Free AVG).

Hope that helps.

answer May 31, 2016 by Tony Drago
0 votes

Gateway is used to connect two different network. For example within our organization we have intranet and when an ip packet is intended to go into internet then it goes through the gateway. Here I mentioned about two network one is intranet and other one is internet.
Firewall is system which control the ip packet flow by putting different means of policies such as which ip packet should be dropped, which should be diverted etc.
Hope it will help you out to understand the difference between these two terms.

answer May 30, 2016 by Vimal Kumar Mishra
0 votes

A gateway is simply a device that joins together two different networks. In the most common scenario, an internal network with the internet. A router is an example of a gateway device. A router is a device that does routing, deciding where packets are sent to based on its IP address.

A firewall is a filter that examines packets against a set of defined rules in order to decide whether to allow the packets through.

answer May 30, 2016 by Karthick.c
Similar Questions
+2 votes

How far it works to different intruders and attackers? and what are all the disadvantages in the firewalls security access?

+9 votes

Explain the following terms: DNS, SMTP, HTTP, FTP, Hub, Switch, Firewall, BOOTP, DHCP, SNMP?
Please mention the standard port numbers for these terms.

+1 vote

I have a hosted VM with a provider, which I've set up mainly as a private mail server. It needs to be protected by some sort of firewall, but there are several to choose from, apart from just writing rules for iptables by hand. I don't think I'll be needing an extreme amount of rules.

Writing rules for iptables is not something I've done in many years, so I was wondering about using either ufw, shorewall or ferm. Has anyone got any experience with either of these? I'm looking for something that is easy to set up and maintain. A pointer to a good guide on any of these would also be much appreciated, especially one that centers on protecting a machine that doesn't serve as a firewall for an entire network, it only has the one interface.

Any suggestions?

...