Contents
# iptables -D INPUT -p icmp –icmp-type echo-request -j REJECT D : This command switch is used to delete the rule. Once the ping enabled, the server should now respond to ping requests as shown in the below image.
How do I enable ping on my server?
How to Allow Ping/ICMP Echo Request in Windows Firewall?
- Login to your server via Remote Desktop. …
- Click on Start >> Administrative Tools >> Windows Firewall with Advanced Security.
- On the Windows Firewall with Advanced Security screen, click Inbound Rules and then click the New Rule link located at Actions Pane. …
- Click on Custom and then click Next.
How do I know if ICMP is enabled Linux?
1 Answer
- change 1 to 0 in the above file.
- Or run the command: iptables -I INPUT -i ech0 -p icmp -s 0/0 -d 0/0 -j ACCEPT.
17 июн. 2015 г.