On Monday 25 November 2002 07:44 am, jrw@ngi.be wrote: > Hi all > I want to DNAT a connection to range of ports to another server but the= re > with others ports > This rule will nat with the same range of ports > ${IPTABLES} -t nat -I PREROUTING -p TCP -i $INET_IFACE -s 0/0 -d $INET_= IP > --dport $START_PORT:$END_PORT -j DNAT --to $APPL_IP > > I'm able to dnat for a range of port to the same range, but how could I > change it? > Is it possible? You should be able to use "-j DNAT --to $APPL_IP:$DSTART-$DEND" and DNAT to the range of ports from DSTART to DEND.=20 j