From: "John Paul" Subject: FTP Redirect IP:Port Date: Thu, 8 Jan 2004 15:05:19 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <01a101c3d5b5$d35fe5a0$63000a0a@pooh> Reply-To: "John Paul" Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_019E_01C3D5F8.D4E48E60" 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_019E_01C3D5F8.D4E48E60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Folks, I want to redirect FTP access from my BOX to other machine. How can i = make this possible? external IP ---> 202.x.x.x port 21 (redirect) ---> 192.168.0.10 port21 I have tried: iptables -A PREROUTING -p tcp -d 202.x.x.x --dport 21 -j DNAT --to = 192.168.0.10:21 this seems to be not working. what could it be? Thanks JP. ------=_NextPart_000_019E_01C3D5F8.D4E48E60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hello Folks,
 
I want to redirect FTP access from my = BOX to other=20 machine. How can i make this possible?
 
external IP ---> 202.x.x.x = port 21=20 (redirect) ---> 192.168.0.10 port21
 
I have tried:
 
iptables -A PREROUTING -p=20 tcp -d 202.x.x.x --dport 21 -j DNAT --to = 192.168.0.10:21
 
this seems to be not working. what = could it=20 be?
 
Thanks
JP.
------=_NextPart_000_019E_01C3D5F8.D4E48E60--