Re-bonjour à tous,
J'ai un souci pour accéder à mon serveur de test, dans mon LAN (192.168.10.20) depuis l'extérieur, via ssh (port 222). Entre les deux, j'ai ma passerelle sous Lenny. Le serveur ssh est bien configuré, je m'y connecte sans problème depuis le LAN.voici ma configuration d'iptables (abrégée) :# iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT tcp -- anywhere anywhere tcp dpt:222 to:192.168.10.20 Chain POSTROUTING (policy ACCEPT) target prot opt source destination SNAT all -- anywhere anywhere to:82.240.31.243 Chain OUTPUT (policy ACCEPT) target prot opt source destination # iptables -L Chain INPUT (policy DROP) target prot opt source destination tcp_inbound tcp -- anywhere anywhere Chain FORWARD (policy DROP) ACCEPT tcp -- anywhere 192.168.10.20 tcp dpt:222 Chain OUTPUT (policy DROP) target prot opt source destination Chain tcp_inbound (1 references) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:222 RETURN tcp -- anywhere anywhere tcp Que manque-t-il ?MerciVincent _________________________________________________________________ Faites vous de nouveaux amis grâce à l'annuaire des profils Messenger ! http://home.services.spaces.live.com/search/?page=searchresults&ss=true&FormId=AdvPeopleSearch&form=SPXFRM&tp=3&sc=2&pg=0&Search.DisplayName=Nom+public&search.gender=&search.age=&Search.FirstName=Pr%C3%A9nom&Search.LastName=Nom&search.location=Lieu&search.occupation=Profession&search.interests=amis&submit=Rechercher