Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Solution: FTP from LAN to WAN over SQUID.

    pfSense Packages
    2
    2
    2.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cyber7C
      cyber7
      last edited by

      Hi guys and girls
      I have had a huge problem getting FTP to work (using SQUID) from my LAN to my WAN.

      I have written a guideline for this and is available at:

      http://cyber7.l1fe.co.za/2011/10/20/pfsense-adding-the-ability-to-ftp-from-lan-to-wan/

      Basically the steps are:
      In SQUID: add thefollowing in your Custom Options: (NOTE: the ;;; is for new-lines)

      ;;;acl ftp proto FTP;http_access allow ftp;acl CONNECT method CONNECT;acl ftp_port port 21;;http_access allow ftp_port CONNECT;;;

      You also have to add in the Access Control/acl sslports the following: (NOTE: this enables the ports for FTP)

      21 50000-50050

      The last thing you need to do is disable your System Tunables “debug.pfftpproxy” by changing the “(default) 0″ value to “1″
      That is it…

      I use FileZilla’s free FTP client and it works like a charm.  Just remember to add your PROXY into the CLIENT.

      Kind regards
      Aubrey Kloppers
      Bible Society of SA

      When you pause to think, do you start again?

      2.2.4-RELEASE (amd64)
      built on Sat Jul 25 19:57:37 CDT 2015
      FreeBSD 10.1-RELEASE-p15
      and
      pfSense 2.3.2-RELEASE-p1 (amd64 full-install) on pfSense

      1 Reply Last reply Reply Quote 0
      • R
        Rafael
        last edited by

        This solution did not work in my case.

        I  use SquidGuard. Is there any thing else that I could  try?

        Regards.
        Rafael

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.