On Tue, 4 Dec 2001, Joseph L. Hill wrote:
> I added the following rule to ipchains.sh on a RH 7.2 server but I still
> can't ssh into that server.
>
> ipchains -A input -j ACCEPT -i eth0 -s any/0 --dport 22 -p tcp

  If the source should really be "any", then do not specify one at all, and
the source address will be ignored.  I suspect the same applies for your
network interface (do you really want to restrict based on interface?).
Assuming all my assumptions are correct, you would use:

        ipchains -A input -j ACCEPT -p tcp --dport 22

-- 
Ben Scott <[EMAIL PROTECTED]>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to