miraip0ts

How to Disable/enable Ping request

Jan 24th, 2017
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.32 KB | None | 0 0
  1. # This is to disable your PING request on Your server LIke a VPN or just a reglur server to look like your server is offline (;
  2. # You can also use this command to disable ping request
  3.  
  4. sysctl net.ipv4.icmp_echo_ignore_all=1
  5. To enable it again
  6.  
  7. To disable
  8. sysctl net.ipv4.icmp_echo_ignore_all=0
  9. Finally save it sysctl -p
Advertisement
Add Comment
Please, Sign In to add comment