From mboxrd@z Thu Jan 1 00:00:00 1970 From: "subramanya" Subject: help regarding DNAT Date: Tue, 3 Jun 2003 09:55:23 +0530 Sender: netfilter-admin@lists.netfilter.org Message-ID: <002f01c32988$27c02220$7673d6d2@sify.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C329B6.4085C0C0" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C329B6.4085C0C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable i am a student doing my final year engineering project work. i am faced with a problem:i want to DNAT all the packets and ia m using = the following command: iptables -t nat -I PREROUTING -p ALL -j DNAT -s xx.xx.xx.xx -d = yy.yy.yy.yy --to-destination zz.zz.zz.zz this works fine on a router. but this doesnot work on a machine that = acts as a bridge. the packets that are entering the PREROUTING chain are = lost in that chain. what could the problem be? plz help ------=_NextPart_000_002C_01C329B6.4085C0C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
i am a student doing my = final year=20 engineering project work.
 
i am faced with a = problem:i want to=20 DNAT all the packets and ia m using the following command:
 
iptables -t nat -I = PREROUTING -p ALL=20 -j DNAT -s xx.xx.xx.xx -d yy.yy.yy.yy --to-destination = zz.zz.zz.zz
 
this works fine on a = router. but this=20 doesnot work on a machine that acts as a bridge. the packets that are = entering=20 the PREROUTING chain are lost in that chain.
 
what could the problem = be? plz=20 help
 
 
 
------=_NextPart_000_002C_01C329B6.4085C0C0--