Block Request PING: Difference between revisions

No edit summary
No edit summary
 
(2 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.
Untuk memodifikasi parameter kernel, kita dapat menggunakan file <code>/etc/sysctl.conf</code>. Untuk memblokir permintaan, kita perlu mengedit file ini.
sudo nano /etc/sysctl.conf
<syntaxhighlight lang="bash">
sudo nano /etc/sysctl.conf
</syntaxhighlight>


Tambahkan code berikut setelah
Tambahkan code berikut setelah
#kernel.domainname = example.com
 
net.ipv4.icmp_echo_ignore_all = 1
<syntaxhighlight lang="bash">
#kernel.domainname = example.com
net.ipv4.icmp_echo_ignore_all = 1
</syntaxhighlight>


==Source==
==Source==
*[https://vitux.com/ubuntu-block-ping-icmp/ vitux.com]
*[https://bit.ly/3kp270i vitux.com]


[[Category:Tutorial]]
[[Category:Tutorial]]
[[Category:Linux]]
[[Category:Server]]