Enable ICMP through Ubuntu's UFW

/ Published in: Bash
Save to your folder(s)

Put this in /etc/ufw/before.rules

Copy this code and paste it in your HTML
  1. # allow outbound icmp
  2. -A ufw-before-output -p icmp -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
  3. -A ufw-before-output -p icmp -m state --state ESTABLISHED,RELATED -j ACCEPT

URL: http://www.kelvinism.com/howtos/enable-icmp-through-ufw/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.