Linux Netfilter discussions
 help / color / mirror / Atom feed
* Blocking certain IP from accessing a specific port
@ 2011-01-28 13:32 Grozdan
  2011-01-28 13:36 ` Giles Coochey
  0 siblings, 1 reply; 2+ messages in thread
From: Grozdan @ 2011-01-28 13:32 UTC (permalink / raw)
  To: netfilter

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 :)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Blocking certain IP from accessing a specific port
  2011-01-28 13:32 Blocking certain IP from accessing a specific port Grozdan
@ 2011-01-28 13:36 ` Giles Coochey
  0 siblings, 0 replies; 2+ messages in thread
From: Giles Coochey @ 2011-01-28 13:36 UTC (permalink / raw)
  To: Grozdan; +Cc: netfilter

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-28 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 13:32 Blocking certain IP from accessing a specific port Grozdan
2011-01-28 13:36 ` Giles Coochey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox