Re: Stop Mail

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Carl Parrish
Date:  
To: plug-discuss
Subject: Re: Stop Mail
Jeremy C. Reed wrote:

>On Tue, 2 Mar 2004, Carl Parrish wrote:
>
>
>
>>This is the voodoo I'm trying now. Can anyone let me know if I'm on the
>>right track?
>>
>>iptables -A FORWARD -i $IPADDRESS -p tcp --sport 25 --dport 25 -j DROP
>>
>>iptables -A OUTPUT -o $IPADDRESS -p tcp --sport 25 --dport 25 -j DROP
>>
>>
>
>Normally, you'd use -i and -o with interfaces (and use -s or -d with IP
>addresses).
>
>The source port would not (usually) be port 25 so get rid of "--sport 25".
>
>OUTPUT is for packets coming from the box. FORWARD is for packets routed
>from outside through the box.
>
> Jeremy C. Reed
> http://www.reedmedia.net/
>
>---------------------------------------------------
>PLUG-discuss mailing list -
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>

Thanks Jeremy, as soon as I remember how to use nmap (or something like
it) I'll let you know how well I did. Again thanks

--
Carl Parrish()
http://www.carlparrish.com
--
Registered Linux User #295761 http://counter.li.org

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss