How do i disable ping on the firewall?

I did a shields up test and it told me that 1056 ports were stealth but that my pc responded to ping and was visible on the net. How do i fix this?

In /etc/sysconfig/SuSEfirewall2 there is this self-explanatory paragraph:

## Type:        yesno
## Default:     yes
#
# 19.)
# Allow the firewall to reply to icmp echo requests
#
# defaults to "no" if not set
#
FW_ALLOW_PING_FW="yes"

You can probably set it using YaST too.

PS: Don’t bother pinging me to test the yes shown here. :slight_smile: This configuration is not active. I have an external firewall and no firewall running on the machines inside.

ok did that so now suse firewall and router firewall are set not respondto ping. Im connected to a vpn at the moment-does that mean my vpn providers firewall is set to respond to pings then?

Not enough details to say.

On 05/27/2010 03:56 PM, accessdeniedno wrote:
>
> I did a shields up test and it told me that 1056 ports were stealth but
> that my pc responded to ping and was visible on the net. How do i fix
> this?
>
>

Why in firewall?
If you don’t want your machine to reply to pings, stop it:
sysctl -w net.ipv4.icmp_echo_ignore_all=1

If you want it back:
sysctl -w net.ipv4.icmp_echo_ignore_all=0

Vahis

http://waxborg.servepics.com
openSUSE 11.2 (x86_64) 2.6.31.12-0.2-default
19:00pm up 23 days 23:12, 11 users, load average: 1.46, 2.09, 3.01