FUNDAMENTALS OF COMPUTER

COMPUTER THREATS SECURITY

WHAT IS A FIREWALL IN NETWORK SECURITY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
State the difference betweenA) iptables-A INPUT-s 59.45.175.62-j REJECTB) iptables-t filter-A INPUT-s 59.45.175.62-j REJECT
A
Both do the same task; no difference
B
B:rejects the packet but A will allow the packet
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -INPUT – The INPUT chain is the rule that controls incoming packets. Here you can block or allow new connections. You can do this based on port, protocol, and source IP address. FORWARD – The FORWARD chain filters incoming packets that are being forwarded to a different end location.

Detailed explanation-2: -The firewall On the one hand, iptables is a tool for managing firewall rules on a Linux machine. On the other hand, firewalld is also a tool for managing firewall rules on a Linux machine. You got a problem with that? And would it spoil your day if I told you that there was another tool out there, called nftables?

Detailed explanation-3: -FILTER is used for the standard processing of packets, and it’s the default table if none other is specified. NAT is used to rewrite the source and/or destination of packets and/or track connections.

Detailed explanation-4: -The three built-in chains of iptables (that is, the chains that affect every packet which traverses a network) are INPUT, OUTPUT, and FORWARD. These chains are permanent and cannot be deleted. The-j target option specifies the location in the iptables ruleset where this particular rule should jump.

There is 1 question to complete.