From: Giles Coochey <giles@coochey.net>
To: Grozdan <neutrino8@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Blocking certain IP from accessing a specific port
Date: Fri, 28 Jan 2011 14:36:00 +0100 [thread overview]
Message-ID: <4D42C640.4060702@coochey.net> (raw)
In-Reply-To: <AANLkTikaqTWofw7tS_=7iZoV52=3mm-eD7-VyDii5Ooq@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
On 28/01/2011 14:32, Grozdan wrote:
> Hi,
>
> Very basic question due to a brain fart I'm having at the moment
> (really tired as well), but if I want to block a certain IP address
> from accessing a specific port on my server, would I be using --dport
> or --sport on the INPUT chain?
>
> Thanks :)
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--dport
--
Best Regards,
Giles Coochey
NetSecSpec Ltd
NL T-Systems Mobile: +31 681 265 086
NL Mobile: +31 626 508 131
GIB Mobile: +350 5401 6693
Email/MSN/Live Messenger: giles@coochey.net
Skype: gilescoochey
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5137 bytes --]
prev parent reply other threads:[~2011-01-28 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 13:32 Blocking certain IP from accessing a specific port Grozdan
2011-01-28 13:36 ` Giles Coochey [this message]
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=4D42C640.4060702@coochey.net \
--to=giles@coochey.net \
--cc=netfilter@vger.kernel.org \
--cc=neutrino8@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox