Bonjour,
je voudrais faire de mon serveur un serveur accessible avec ssh. J’ai ouvert les ports sur ma box et tout marche pour le mieu mais uniquement quand mon pare-feu est désactivé.
J’ai pourtant autorisé les connexions entrantes sur le port 22 mais la connexion ne se fait pas.
Voila les règles actives de mon pare-feu :
[code]Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
792 163K ACCEPT all – any any anywhere anywhere state RELATED,ESTABLISHED
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:www
0 0 ACCEPT all – lo any anywhere anywhere
8 843 LOG all – any any anywhere anywhere LOG level warning prefix Drop : ' 8 843 DROP all -- any any anywhere anywhere 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh 0 0 ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED 0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:www 0 0 ACCEPT all -- lo any anywhere anywhere 0 0 LOG all -- any any anywhere anywhere LOG level warning prefix
Drop : '
0 0 DROP all – any any anywhere anywhere
0 0 ACCEPT tcp – any any anywhere anywhere tcp dpt:ssh
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 180 packets, 25736 bytes)
pkts bytes target prot opt in out source destination
[/code]
Merci!