[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: blocking specific ips on a linux server
- From: "Anthony E. Greene" <agreene pobox com>
- To: redhat-list redhat com
- Subject: Re: blocking specific ips on a linux server
- Date: Mon Sep 30 13:31:51 2002
On 27-Sep-2002/16:40 -0400, Meghan Madel <megmadel mac com> wrote:
>Hello,
>I would like to block AIM on a linux server. What would you recommend
>is the best way to do this. I found some documentation on
>"access-lists," but am not familiar with this. I couldn't tell if it
>was it's own file or if this was to be added to another file.
>
>I have found info on the ip's, port #, etc.....just don't know where or
>how to block those.
Use ipchains:
ipchains --append input --protocol tcp --source-port 5190 --jump REJECT
ipchains --append input --protocol udp --source-port 5190 --jump REJECT
ipchains --append input --protocol tcp --destination-port 5190 --jump REJECT
ipchains --append input --protocol udp --destination-port 5190 --jump REJECT
Tony
--
Anthony E. Greene <mailto:agreene pobox com>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D
AOL/Yahoo Chat: TonyG05 HomePage: <http://www.pobox.com/~agreene/>
Linux: the choice of a GNU Generation. <http://www.linux.org/>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]