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). voici ma configuration d'iptables (abrégée) : # iptables -t nat -LChain 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 ? Merci Vincent Plus de 15 millions de français utilisent Windows Live Messenger ! Téléchargez Messenger, c'est gratuit ! |