On 27-Sep-2002/16:40 -0400, Meghan Madel <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
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/>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to