1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-21 17:11:33 -05:00

Ignore Bogus ICMP responses

This commit is contained in:
Tommy 2024-06-06 14:03:28 -07:00 committed by GitHub
parent b4d7ba6bce
commit dd65ecf897
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,9 @@ net.ipv4.conf.*.rp_filter = 1
net.ipv4.icmp_echo_ignore_all = 0
net.ipv6.icmp.echo_ignore_all = 0
# Ignore Bogus ICMP responses
net.ipv4.icmp_ignore_bogus_error_responses = 1
# Enable IP Forwarding
# Almost all of my servers run Docker anyways, and Docker absolutely requires this.
net.ipv4.ip_forward = 1

View File

@ -73,6 +73,9 @@ net.ipv4.conf.*.rp_filter = 1
net.ipv4.icmp_echo_ignore_all = 1
net.ipv6.icmp.echo_ignore_all = 1
# Ignore Bogus ICMP responses
net.ipv4.icmp_ignore_bogus_error_responses = 1
# Enable IP Forwarding
# Needed for VM networking and whatnot.
net.ipv4.ip_forward = 1