ICMP with default deny on outbound
I have GUFW set up to deny all outbound by default, and I add rules to allow certain ports as needed. It seems this is blocking my outbound pings and I don't see a way to set a rule to allow them.
I did check /etc/ufw/
# ok icmp codes for INPUT
-A ufw-before-input -p icmp --icmp-type destination-
-A ufw-before-input -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-input -p icmp --icmp-type time-exceeded -j ACCEPT
-A ufw-before-input -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-input -p icmp --icmp-type echo-request -j ACCEPT
# ok icmp code for FORWARD
-A ufw-before-forward -p icmp --icmp-type destination-
-A ufw-before-forward -p icmp --icmp-type source-quench -j ACCEPT
-A ufw-before-forward -p icmp --icmp-type time-exceeded -j ACCEPT
-A ufw-before-forward -p icmp --icmp-type parameter-problem -j ACCEPT
-A ufw-before-forward -p icmp --icmp-type echo-request -j ACCEPT
Is there a way to allow outbound ICMP while keeping gufw set to default deny outbound?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu ufw Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: