On Sat, 24 Nov 2001, aman raheja wrote:
> hi all
> i have configured ipchains on my linux 7.1 box.
> the 3 rules (in order) do the following
> 1> accept src 0.0.0.0/0 port * dst hostA port 22
> 2> accept src hostA port 22 dst 0.0.0.0/0 port *
> 3> deny src 0.0.0.0/0 port * dst 0.0.0.0/0 port *
> I intend to allow ssh on hostA, and deny everything else.
> It works but it takes too long for the connection to establish even when =
> I
> am doing ssh from hostA to hostA itself. I wonder why?
> Suggestions?
> Aman
>

For minimum delay, add the following line:

/sbin/ipchains -A input -p tcp -d 0/0 22 -t 0x01 0x10

Hope it helps,
-Gonçalo.

Reply via email to