Block Request PING: Difference between revisions
Created page with "==Source== *[https://vitux.com/ubuntu-block-ping-icmp/ vitux.com]" |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Untuk memodifikasi parameter kernel, kita dapat menggunakan file <code>/etc/sysctl.conf</code>. Untuk memblokir permintaan, kita perlu mengedit file ini. | |||
<syntaxhighlight lang="bash"> | |||
sudo nano /etc/sysctl.conf | |||
</syntaxhighlight> | |||
Tambahkan code berikut setelah | |||
<syntaxhighlight lang="bash"> | |||
#kernel.domainname = example.com | |||
net.ipv4.icmp_echo_ignore_all = 1 | |||
</syntaxhighlight> | |||
==Source== | ==Source== | ||
*[https:// | *[https://bit.ly/3kp270i vitux.com] | ||
[[Category:Tutorial]] | |||
[[Category:Linux]] | |||
[[Category:Server]] | |||