Linux Netfilter discussions
 help / color / mirror / Atom feed
From: iansolo <iansolo.netfilter@betisgroup.com>
To: Luis Nieto <luismnieto@gmail.com>, netfilter@lists.netfilter.org
Subject: Re: ftp nat MAX PORTS
Date: Tue, 08 Feb 2005 14:54:47 +0100	[thread overview]
Message-ID: <4208C4A7.3080208@betisgroup.com> (raw)
In-Reply-To: <200502081011.46026.luismnieto@gmail.com>

Ok, but my problem is redirect all from port 9000 of external 
interface(of fw) to same port of ftpserver.

$IPTABLES -t nat -A PREROUTING -p tcp -d $EXT_LAN_FW --dport 9000 -j 
DNAT --to-destination $IP_FTPSERVER:9000

But this don't work with ftp flow...

Luis Nieto wrote:
> El Jue 03 Feb 2005 04:56, escribió:
> $IPTABLES -t nat -A PREROUTING -p tcp -d $EXT_LAN_FW --dport 21 -j DNAT 
> --to-destination $IP_FTPSERVER:9000
>  
> In this way, all the requirements for FTP connections that arrives to your 
> extern interface should be redirected to $IP_FTPSERVER:9000
> 
> 
> ________ Information from NOD32 ________
> This message was checked by NOD32 Antivirus System for Linux Mail Server.
> http://www.nod32.com



      parent reply	other threads:[~2005-02-08 13:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02 16:32 ftp nat MAX PORTS iansolo
2005-02-07 11:42 ` iansolo
2005-02-07 12:49   ` pom rpc and rsh patches Alexander Piavka
     [not found] ` <bd35181c05020211473cb89b35@mail.gmail.com>
     [not found]   ` <4201D91A.5030500@betisgroup.com>
     [not found]     ` <200502081011.46026.luismnieto@gmail.com>
2005-02-08 13:54       ` iansolo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4208C4A7.3080208@betisgroup.com \
    --to=iansolo.netfilter@betisgroup.com \
    --cc=luismnieto@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox