Re: nat and prerouting
iptables -A PREROUTING -i eth0 -t nat -p tcp -d IpAddServer --dport 81 \
-j DNAT --to-destination 192.168.0.2:80
you have forwarding enabled?
eth0 is your external interface?
all other tables and chains are empty and their policy ACCEPT?
sorry i made a mistake when i have done the copy/past, in the right
rule, it's without the "-o eth0"
There is no "-o eth0" in your original post.
you have forwarding enabled?
are you trying from the outside or from inside?
yours,
peter
decidedly 2 mistakes in 2 messages, sorry, now i will read and reread each mail before, in fact I mean "-i eth0" of course...
From both but read my last mail
thx for your help
yoann
__________________________________________________________________
Haut Débit: Modem offert soit 150,92 euros remboursés sur le Pack eXtense de Wanadoo !
Profitez du Haut Débit à partir de 30 euros/mois : http://www.ifrance.com/_reloc/w
Reply to: