Re: Problem DNAT using ppp0 ADSL
ronan lopes a écrit :
Solved! I obtained to lower the MTU of my net ppp0 the simple o
being commando:
ifconfig ppp0 mtu 1400
But I did not solve the problem to make DNAT in ppp0!
The command:
iptables -t nat -I PREROUTING -p tcp --dport 3389 \
-j DNAT --to 10.0.0.7
It does not function!!!
------------------------------------------------------------------------
Yahoo! Search
Música para ver e ouvir: You're Beautiful, do James Blunt
<http://us.rd.yahoo.com/mail/br/tagline/search/video/*http://br.search.yahoo.com/search/video?p=james+blunt&ei=UTF-8&cv=g&x=wrt&vm=r&fr=intl-mail-br-b>
Hi,
I've told you need to enable the traffic in the "filter" table
Something like:
iptables -t filter -i ppp0 -o eth1 -d 10.0.0.7 -p tcp --dport 3389 -j ACCEPT
Enable the traffic in "nat" table is not enough... you MUST autorise it
in the "filter" table !!
Regards
Guillaume
Regards
Guillaume
--
Guillaume
E-mail: silencer@free-4ever.net
Reply to: