|
Sujet : [Linux] Iptables : comment router ? |
| Gaellick |
PaLoTTe a écrit a écrit :
bon j'essai ca :
iptables -t nat -A POSTROUTING -o PPP0 -p tcp --sport 6699 -j DNAT --to-destination 192.168.0.16:6699
je pense pas ke ce soit bon, mais est ce ke je suis sur la bonne voie ?
|
C'erst POSTROUTING pas PREROUTING.
-i --> PREROUTING
-o --> POSTROUTING
a verifier mais pratiquement sur. |