<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FTP access from WAN]]></title><description><![CDATA[<p dir="auto">Hello<br />
I have created a NAT forwarding tru the firewall to a specific IP address on my LAN.<br />
I can establish connection but I get error in the FTP program.<br />
Rules is like this:</p>
<p dir="auto">Rules:<br />
TCP/UDP * * WAN address 21 (FTP) *   NAT WAN to WAN FTP</p>
<p dir="auto">NAT rules:<br />
TCP/UDP * * 172.16.10.100 21 (FTP) *   NAT WAN to WAN FTP  <br />
TCP/UDP * * WAN address 21 (FTP) *   NAT WAN to WAN FTP</p>
<p dir="auto">The error Message I get is:<br />
Status: Finner IP-adresse for mikkel.gotdns.com<br />
Status: Kobler til 81.166.107.132:21…<br />
Status: Tilkoblet, venter på velkomstmelding...<br />
Respons: 220 Gene6 FTP Server v3.10.0 (Build 2) ready...<br />
Kommando: USER mikkel<br />
Respons: 331 Password required for mikkel.<br />
Kommando: PASS *********<br />
Respons: 230 User mikkel logged in.<br />
Kommando: CLNT FileZilla<br />
Respons: 200 Noted.<br />
Kommando: OPTS UTF8 ON<br />
Respons: 200 UTF8 OPTS ON<br />
Status: Tilkoblet<br />
Status: Mottar mappeliste...<br />
Kommando: PWD<br />
Respons: 257 "/" is current directory.<br />
Kommando: TYPE I<br />
Respons: 200 Type set to I.<br />
Kommando: PASV<br />
Feil: Koblet fra serveren: ECONNABORTED - Connection aborted<br />
Feil: Feil ved mottakelse av mappelisten</p>
<p dir="auto">What is wrong and how can I fix it?<br />
If I skip the step in the network setup with pfSense firewall its works just fine.</p>
]]></description><link>https://forum.netgate.com/topic/29896/ftp-access-from-wan</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 02:31:09 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/29896.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Jan 2011 15:04:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FTP access from WAN on Wed, 09 Feb 2011 15:00:35 GMT]]></title><description><![CDATA[<p dir="auto">Dump your rules and start over.  Assuming your FTP server's IP is 172.16.10.100, change the default port to something non standard like 7431, create the following NAT Port Forward:</p>
<p dir="auto">Interface - WAN<br />
External address - any<br />
Protocol - TCP<br />
External Port Range (from) - 7431<br />
External Port Range (to) - leave blank<br />
NAT IP - 172.16.10.100<br />
Local Port - 7431<br />
Description - FTP Server<br />
Check the box for "Auto-add a firewall rule to permit traffic through this NAT rule"</p>
<p dir="auto">You now need to enable PASV mode on your FTP server, enter the External (Public) IP for your network and configure a PASV port range… e.g. 30000-30200 (need at least 1 port for every connected FTP user).</p>
<p dir="auto">Create another NAT port forward for that PASV port range to your FTP server:</p>
<p dir="auto">Interface - WAN<br />
External address - any<br />
Protocol - TCP<br />
External Port Range (from) - 30000<br />
External Port Range (to) - 30200<br />
NAT IP - 172.16.10.100<br />
Local Port - 30000<br />
Description - FTP Passive Ports<br />
Check the box for "Auto-add a firewall rule to permit traffic through this NAT rule"</p>
<p dir="auto">Save, Apply, Done.</p>
]]></description><link>https://forum.netgate.com/post/264862</link><guid isPermaLink="true">https://forum.netgate.com/post/264862</guid><dc:creator><![CDATA[marvosa]]></dc:creator><pubDate>Wed, 09 Feb 2011 15:00:35 GMT</pubDate></item><item><title><![CDATA[Reply to FTP access from WAN on Wed, 26 Jan 2011 23:24:08 GMT]]></title><description><![CDATA[<p dir="auto">I run 1.2.3-RELEASE<br />
I did find the solution and its to run FTP like active and not passive transfer modus.<br />
Its very bad but I dont know any solution to skip this problem.<br />
I want to skip it because now I have problem to connect with windows FTP built in client.</p>
<p dir="auto">Anyone have a solution?</p>
]]></description><link>https://forum.netgate.com/post/262862</link><guid isPermaLink="true">https://forum.netgate.com/post/262862</guid><dc:creator><![CDATA[micro80]]></dc:creator><pubDate>Wed, 26 Jan 2011 23:24:08 GMT</pubDate></item><item><title><![CDATA[Reply to FTP access from WAN on Mon, 24 Jan 2011 01:49:50 GMT]]></title><description><![CDATA[<p dir="auto">micro80,</p>
<p dir="auto">you did not mention which version of pfSense you are using?<br />
what os and version of ftp server are you using?<br />
i run into the exact problem you have explained with a 64-bit version of centos 5 running vsftp server. but, the 4 other 32 bit versions of vsftp server(s) worked as expected. (these were all the same version vsftp, for posterity)<br />
,, this is pfSense-1.2.3-RELEASE<br />
i only guessed that something in the 64 bit kernel had different conntrak modules that simply couldn't traverse the pfSense box's nat .<br />
i could get 'one way' connection', telnet for example but never could see files reliably. i finally gave up after quite a bit of tcpdumps,,etc.<br />
is your os, by chance 64 bit?</p>
<p dir="auto">b</p>
]]></description><link>https://forum.netgate.com/post/262206</link><guid isPermaLink="true">https://forum.netgate.com/post/262206</guid><dc:creator><![CDATA[brcisna]]></dc:creator><pubDate>Mon, 24 Jan 2011 01:49:50 GMT</pubDate></item></channel></rss>