title: UFW: Allow ping requests only for specific host
body: <p>I am setuping my server and I must disable the ping requests for everyone except me and a list of hosts (aaa.bbb.ccc.ddd).</p>
  
  <p>I am using the tool ufw, on ubuntu server, I read that I have to comment those lines:</p>
  
  <h1>ok icmp codes</h1>
  
  <p>-A ufw-before-input -p icmp --icmp-type destination-unreachable -j ACCEPT
  -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,</p>
  
  <p>However, by doing that It will disallow everyone to ping, which is a problem because I need "aaa.bbb.ccc.ddd" to have a response to is ping requests.</p>
  
  <p>Can you help me to write the correct command? </p>
  
  <p>Thank you a lot in advance.</p>