Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 02-08-2005, 06:00 AM   #1
Registered: Dec 2004
Posts: 188

Rep: Reputation: 30
block ping and ssh

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

Old 02-08-2005, 06:08 AM   #2
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
the best solution

using shorewall(, an IPTABLES based Firewall

and DROP all packets on those ports



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
block ping Ammad Linux - Security 1 01-13-2005 01:52 PM
How to block ping on win98 m/c ? emailssent General 1 10-19-2004 06:27 AM
How to Block ping into my m/c ?? emailssent Linux - Networking 3 10-19-2004 05:47 AM
Configure Smoothwall to block ping? chrisknight Linux - Software 10 09-15-2003 04:21 PM
Can't ping/ssh my box, Shorewall seems to block all traffic except http / ftp tiduck Linux - Networking 10 05-22-2003 09:21 PM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration