stroller10
(Stroller10)
December 25, 2017, 12:11am
1
Hi,
Can this be done from FreePBX? Searches have resulted primarily of the below solutions but none work for me.
Asterisk 13.12.1
echo “1” > /proc/sys/net/ipv4/icmp_echo_ignore_all
echo “0” > /proc/sys/net/ipv4/icmp_echo_ignore_all
You can add following line to /etc/sysctl.conf file:
vi /etc/sysctl.conf
Append following line:
net.ipv4.icmp_echo_ignore_all = 1
arielgrin
(arielgrin)
December 25, 2017, 4:10pm
2
You could also block it with iptables rule.
1 Like
stroller10
(Stroller10)
December 27, 2017, 2:05am
3
I have tried with iptables rule also but box still replies to pings. Could you post the correct syntax for me please?
arielgrin
(arielgrin)
December 27, 2017, 2:26am
4
Take a look at this link as a starting point. Consider that this will only work if you are running iptables on your server, otherwise it will not do anything.
1 Like
system
(system)
Closed
December 30, 2017, 1:02am
5
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.