From: "Samuel Díaz García" <samueldg@arcoscom.com>
To: varun_saa@vsnl.net
Cc: netfilter@lists.netfilter.org
Subject: Re: block ssh and ping
Date: Tue, 08 Feb 2005 13:15:12 +0100 [thread overview]
Message-ID: <20050208121512.32686.qmail@arcoscom.com> (raw)
In-Reply-To: <5e36ca5e45b4.5e45b45e36ca@vsnl.net>
iptables -t filter -I INPUT -i eth0 -p icmp --icmp-type 8 -j DROP
iptables -t filter -I INPUT -i eth0 -p tcp --dport ssh -j DROP
varun_saa@vsnl.net writes:
> Hello,
> My server is Mandrake 10.1
> eth0 is WAN with static IP connected to 512k DSL
> eth1 is LAN.
>
> 1. I would like to block ping to my external static IP
>
> 2. I would like to block ssh to my external static IP
>
> Howto to do that ?
>
> Thanks
>
> Varun
>
>
Samuel Díaz García
Director Gerente
ArcosCom Wireless, S.L.L.
mailto:samueldg@arcoscom.com
http://www.arcoscom.com
móvil: 651 93 72 48
tlfn.: 956 70 13 15
fax: 956 70 34 83
next prev parent reply other threads:[~2005-02-08 12:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-08 11:52 block ssh and ping varun_saa
2005-02-08 12:15 ` Samuel Díaz García [this message]
2005-02-08 15:17 ` Sergio Basurto Juarez
2005-02-14 9:11 ` Nick Drage
-- strict thread matches above, loose matches on Subject: below --
2005-02-14 17:18 Hudson Delbert J Contr 61 CS/SCBN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050208121512.32686.qmail@arcoscom.com \
--to=samueldg@arcoscom.com \
--cc=netfilter@lists.netfilter.org \
--cc=varun_saa@vsnl.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.