configuration iptables

Post Reply
Message
Author
stephmel
Posts: 1
Joined: Wed 18 Mar 2009, 22:48

configuration iptables

#1 Post by stephmel »

Bonjour,
j'essaie d'ouvrir les ports d'Amule en utilisant le firewall iptables
apres lecture de divers forum, j'ai reussi à configurer cela (voir ci dessous):
Mais cela ne fonctionne pas
Je passe en high ID en stoppant iptables ce qui montre que la conf de mon routeur est ok
mais quand je relance iptables, cela ne passe plus
De plus, je n'arrive pas à sauvegarder ma conf iptables (le fichier reste vide...)
j'utilise Puppy en LiveCD
Quelqu'un peut-il m'aider
Merci d'avance

Chain INPUT (policy DROP)
num target prot opt source destination
1 ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
2 ACCEPT all -- anywhere anywhere state NEW
3 TRUSTED all -- anywhere anywhere state NEW
4 ACCEPT tcp -- anywhere anywhere tcp dpt:4662
5 ACCEPT udp -- anywhere anywhere udp dpt:4672
6 ACCEPT udp -- anywhere anywhere udp dpt:4665

Chain FORWARD (policy DROP)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
1 DROP icmp -- anywhere anywhere state INVALID

Chain TRUSTED (1 references)
num target prot opt source destination
1 ACCEPT icmp -- anywhere DGP7CW1J icmp echo-request
2 DROP icmp -- anywhere anywhere
3 REJECT all -- anywhere anywhere reject-with icmp-port-unreachable

Post Reply