How do you write firewall rules in Linux?

How do you write firewall rules in 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.
14 февр. 2011 г.
 

Tìm kiếm

Back
Top