Linux comes with a built-in firewall called iptables. In this video, learn how to use it to set up a simple Linux firewall.
- [Instructor] The normal configuration for a firewall … is to allow all outgoing traffic … but block all incoming connections … except for the specific protocols that we know we want. … Let's set up a simple firewall using iptables to do this. … For this firewall, I want to allow port 22 … to enable SSH from anywhere, … and port 4545 to allow only score pair to access Hydra. … Any other connection requests can be dropped. … I want Hydra to be able to connect out to wherever it wants. … Okay lets set up these firewall rule set … by entering four iptables commands. … This allows all outgoing connections. … This allows SSH and port 22 for remote management. … This allows Scorpio to connect on 4545. … And this drops all other incoming connection requests. … Let's check the configuration now. … We can see that we've set up three rules on the input chain … and one rule on the output chain. … To test this rule set, I'll set up a net catalyst … on port 4545 and 4546 of Hydra, … and try to connect to them from Scorpio. …
- Hackers and the kill chain
- Viruses, spyware, and adware
- Detecting malware with Windows Defender
- Using Windows Firewall and Linux iptables
- Scanning with Nmap
- Monitoring network communications with Netcat
- Combating application-level threats
- Scanning a website to check for vulnerabilities
- Capturing intruders through packet inspection
Skill Level Beginner
Insights from a Cybersecurity Professionalwith Mike Chapple32m 15s Intermediate
1. Why Cybersecurity?
4. Network Scanning
5. Network Connections
6. Vulnerability Scanning
7. Web Applications
8. Monitoring Packets
Next steps1m 27s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.