Phạm Công Thành
New member
How do you write firewall rules in Linux?
Answer
Firewall Rule Parameters
Answer
Firewall Rule Parameters
- Indicates the protocol for the rule.
- Possible values are tcp, udp, icmp.
- Use “all” to allow all protocols. …
- Use either the name (for example: tcp), or the number (for example: 6 for tcp) for protocol.
- /etc/protocols file contains all allowed protocol name and number.
- You an also use –protocol.