LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   block ping and ssh (https://www.linuxquestions.org/questions/mandriva-30/block-ping-and-ssh-287610/)

varun_saa 02-08-2005 06:00 AM

block ping and ssh
 
Hello,
My server is mandrake10.1 off with :
eth0 as WAN with static IP connected to 512K DSL
eth1 is LAN

I am using iptables.

1. I would like to block ping to my external IP.

2. I would like to block ssh to my external IP

Howto to do it ?

Thanks in advance

Varun

masand 02-08-2005 06:08 AM

the best solution

using shorewall(shorewall.net), an IPTABLES based Firewall

and DROP all packets on those ports

regards


All times are GMT -5. The time now is 06:10 AM.