Lesson 10 - Chapter 4: Firewalls and Internet Appliances Flashcards
What are firewalls?
devices or applications that protect an internal network from unauthorized access to/from the Internet
What are 2 of some of the methods firewalls use to protect networks?
- hiding IP addresses
- blocking TCP/IP ports
A typical network uses one or both of which 2 types of firewalls?
- Hardware firewalls (built into routers)
- Software firewalls (run on your computers)
(both protect your computer and network)
Can you run hardware and software firewalls at the same time?
yes
Most SOHO networks use what type of firewalls?
Hardware firewall (a feature built into a router)
How does a hardware firewall protect a LAN from outside threats?
Filters the packets before they reach your internal machines
Where do you go to configure a hardware firewalls?
your router’s browser-based settings
What do hardware firewalls use to inspect each incoming packet individually? What does it also block?
they use stateful packet inspection (SPI) which also blocks any incoming traffic that isn’t in response to your outgoing traffic
What does SPI stand for? What uses it?
Stateful Packet Inspection (what hardware firewalls use to inspect incoming packets individually)
What does “stateful” mean?
they check the state of communication of each inbound or outbound packet to confirm the 2 communicators are in an authentic conversation
What do you do if you want to allow outside users to access a web server on the LAN?
(remember, NAT hides the true IP addresses of your systems behind a single public IP address so you need to find a way to allow incoming traffic past the router/firewall and redirect it to the right PC)
You can use Port Forwarding to open a port in the firewall and direct incoming traffic on that port to a specific IP address on your LAN (the web server machine)
(for example, open Port 80 for HTTP packets to send all incoming traffic to the server machine)
What is Port Forwarding?
enables you to open a port in the firewall and direct all incoming traffic to that port (and to a specific IP address on your LAN)
(allows outside users access to a system/server on your LAN)
What’s another way to open ports on a firewall? What does it do? (2)
Port Triggering
it enables you to open an incoming connection to one computer automatically based on a specific outgoing connection
The trigger port defines the outgoing connection, and the destination port defines the incoming connection. If you set the trigger port to 3434 and the destination port to 1234, for example, any outgoing traffic on port 3434 will trigger the router to open port 1234 and send any received data back to the system that sent the original outgoing traffic.
What’s the difference between port forwarding and port triggering?
Port Forwarding = opens the port all the time, multiple devices can share the port and must use a static IP address
Port Triggering = only opens the incoming port when a single client at a time requests access to the trigger port and does not require static IP addresses
What do you use if you want to open every port on a machine?
Demilitarized Zone (DMZ)
What is a DMZ?
Demilitarized zone
it puts systems with the specified IP addresses outside the protection of the firewall (opening all ports and enabling all incoming traffic)
Completely dangerous, don’t use it!