From owner-freebsd-questions@FreeBSD.ORG Fri Sep 11 14:16:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDCAB106568B for ; Fri, 11 Sep 2009 14:16:04 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179]) by mx1.freebsd.org (Postfix) with ESMTP id A7D518FC13 for ; Fri, 11 Sep 2009 14:16:04 +0000 (UTC) Received: by ywh9 with SMTP id 9so1569718ywh.32 for ; Fri, 11 Sep 2009 07:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jlD0egwwO99o2a7GuyUW8666bhA/Zig4bE1a7Hzsu9w=; b=Q1oSrtKmnK5Qn7RPuVaYtc/TX6a0enkS8qONIynwp2/i/qqEbot51X38s9WuL0XGbC MIC0Kp/Itfto2YiNpocY6F+AJ/tTy84YlJkRRCk4QCylWmEsXTXSRqBt+0sTT7XBowsu zUswjV9LRY7/DRl3ZpUFPR21hT6ULFcxheeqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=S/emR1FPGD9BybcRXdTtgDjldkYU2/Amtt038P4savOfzw24qb5CtT288z2IfyNdak sUpBkxgW7CVhN9xyZZyEKaA337tS5198rhbr41C3KlgWBXXFsFktSl3OfvYS9GrkNy/Q OeCnMkRX5iWchOXG5KbxhYlLX7/rl6Ui6+0rw= MIME-Version: 1.0 Received: by 10.150.112.5 with SMTP id k5mr4865489ybc.348.1252677035947; Fri, 11 Sep 2009 06:50:35 -0700 (PDT) Date: Fri, 11 Sep 2009 09:50:35 -0400 Message-ID: <6ae50c2d0909110650q25be793cobf3050060b9a97b1@mail.gmail.com> From: alexus To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: ipnat proxy port ftp ftp/tcp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2009 14:16:05 -0000 I'm straggling to get my FTP to work I'm running jail on my FreeBSD with proftpd and I use ipnat to forward any requests to my box to that jail for that service this is what i put inside of my ipnat.conf rdr bce0 64.237.55.65/27 -> lama proxy port ftp ftp/tcp 64.237.55.65/27 this is my public range lama is my jail's name when I get connected I get something like this when I do ipnat -l RDR 64.237.55.83 21 <- -> 64.237.55.83 21 [216.203.43.254 50532] proxy ftp/6 use -11 flags 0 proto 6 flags 0 bytes 2824 pkts 24 data YES size 344 FTP Proxy: passok: 0 Client: seq b4b3b64d (ack b4b3b64d) len 6 junk 0 cmds 0 buf [FEAT\015\012\012p\015\012\000] Server: seq 970af81b (ack 970af8dc) len 193 junk 0 cmds 211 buf [211 End\015\012e;\012 MLST modify*;perm*;size*;type*;unique*;UNIX\000] and on my client I get this mbp:~ alexus$ ftp 64.237.55.83 Connected to 64.237.55.83. 220 64.237.55.83 FTP server ready Name (64.237.55.83:alexus): ftp 331 Anonymous login ok, send your complete email address as your password Password: 230 Anonymous access granted, restrictions apply Remote system type is UNIX. Using binary mode to transfer files. 421 Service not available, remote server timed out. Connection closed. ftp: No control connection for command ftp> can someone help me? -- http://alexus.org/