How do I add a firewall to Linux?

How do I add a firewall to Linux?
Answer
Firewall Rule Parameters
  1. Indicates the protocol for the rule.
  2. Possible values are tcp, udp, icmp.
  3. Use “all” to allow all protocols. …
  4. Use either the name (for example: tcp), or the number (for example: 6 for tcp) for protocol.
  5. /etc/protocols file contains all allowed protocol name and number.
  6. You an also use –protocol.
 

Tìm kiếm

Back
Top