Anomalie #4901
SNAT sur tout les ports provoque une erreur iptables
Status:
Fermé
Priority:
Haut
Assigned To:
Gwenael Remond
Category:
-
Target version:
Distribution:
EOLE 2.3
Description
Si on fait une directive en SNAT, le port par défaut est "0". Mais cela provoque une erreur iptables :
+ /sbin/iptables -t nat -A POSTROUTING -o eth0 -s 0/0 -d 0/0 -j SNAT --to-source 192.168.122.152:0 iptables v1.4.4: Need TCP, UDP, SCTP or DCCP with port specification Try `iptables -h' or 'iptables --help' for more information.
Associated revisions
redirect --to-source with port 0 fixes #4901 @1h
History
#1 Updated by Gwenael Remond over 10 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit ce78664dec7e7013f176a54533d86e01cc76f990.
#2 Updated by Emmanuel GARETTE over 10 years ago
- Status changed from Résolu to Fermé
Avant MAJ :
* Starting firewall: bastion (modèle "3zones-scribe")iptables v1.4.4: Port `0' not valid Try `iptables -h' or 'iptables --help' for more information.
Après MAJ :
* Starting firewall: bastion (modèle "3zones-scribe") [ OK ]