[TriLUG] linksys linux router question

Michael Tharp gxti at partiallystapled.com
Mon Jul 24 10:49:39 EDT 2006


Why not just use iptables on the machine running sendmail and sshd? That 
should be just as effective at dropping packets or rejecting connections.

iptables -A INPUT -p tcp --sport 22 -s ! 1.2.3.4/16

Or something to that effect.

Ralph Blach wrote:
> I have a linksys linux router and  has everthing all the function I 
> want almost.
>
> What is does not seem to have is the ability to drop connection on a 
> port if it does not come from a specific range of address.
>
> Specifically , I would like to forward sendmail and and sshd only if 
> they come from specific address ranges.
>
> Is there any way to do this using the linksys firmware or do I have to 
> load a new firmware.
>
> Any ideas would be appreciated.
>
> Chip




More information about the TriLUG mailing list