-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

webmaster wrote:
>ola lista,
>
>alguem saberia me dizer como faco para restringir o acesso ssh por ip?

iptables -A INPUT -p tcp -s $IP_PERMITIDO --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j DROP

- -- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFDKh/hM/XwBW70U1gRAst3AKC62Wc3uY8Tsir+j0Bqmycqk/2sGgCfQkuJ
Qhvgqu0mkxFgQDSsQ9nRDhI=
=JagG
-----END PGP SIGNATURE-----
---------------------------------------------------------------------------
Esta lista é patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utilização da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a