George Sweetnam wrote:
>
> ----- Original Message ----- From: "Eric "Shubes"" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, March 02, 2007 6:37 PM
> Subject: Re: [qmailtoaster] problems with install
>
>
>> Jim Shupert, Jr. wrote:
>>> I did comment out the line for firewall.sh
>>>
> =======================================
> #The line below is wrong in the file firewall.sh:
> iptables -A INPUT -s $MYIP -i ! lo -j DROP
>
> #Did you really mean to lock out the remote connection for the person
> using the machine?
>
> #I would recommend something like this in the ssh section (you may want
> to omit the -i eth0 if you don't want to specify it) and removing the
> line above entirely:
>
> iptables -A INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m
> cent --set
> iptables -A INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m
> cent --update --seconds 60 --hitcount 4 -j DROP
> iptables -A INPUT -s $MYIP/255.255.255.255 -p tcp -m tcp --dport 22 -j
> ACCEPT
>
> #
>
> George S
>
I simply added
iptables -A INPUT -s my.local.sub.net/255.255.255.0 -j ACCEPT
before the offending line(s) to accept everything from my local subnet.
Perhaps not the best solution.
George, will you create a flyspray enhancement task so that this can be
taken care of? I think it deserves some attention, whatever the solution
might be.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]