[Cialug] Procmail / Sendmail config pbm

albus albus at iowaconnect.com
Tue Apr 5 15:58:21 CDT 2011


Great. Glad I was able to help.

 

  _____  

From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org] On Behalf
Of Tim Perdue
Sent: Tuesday, April 05, 2011 3:55 PM
To: Central Iowa Linux Users Group
Subject: Re: [Cialug] Procmail / Sendmail config pbm

 

On 4/5/2011 3:30 PM, albus wrote:
> If all you want is ssh allowed from the one IP you could try this.
>
> A RH-Firewall-1-INPUT -i eth0 -p tcp -s 67.41.107.185 --dport 22 -j ACCEPT
>
> A RH-Firewall-1-INPUT -i eth0 -p tcp -s 0/0 --dport 22 -j DROP
>
> Second line to force any and all traffic to DROP.
>
> Do you have more than on NIC in this machine.? If you have just one you
> could probably use
>
> A RH-Firewall-1-INPUT -p tcp -s 67.41.107.185 --dport 22 -j ACCEPT

This solved the problem. It appears maybe the latest update breaks this
old hack syntax I've used:


>>  -A RH-Firewall-1-INPUT -i eth0 -p tcp --dport 22 -m iprange --src-range
>>  67.41.107.185-67.41.107.185 -j ACCEPT
>>  COMMIT

Using -s for a single IP instead of the iprange that I've always used
appears to work fine.

Thanks!
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug

  _____  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1209 / Virus Database: 1500/3552 - Release Date: 04/05/11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20110405/acdb2aeb/attachment.html>


More information about the Cialug mailing list