AFP548 Changing the world one server at a time.

snowriderau

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Passive FTP Working Behind Router? #369479
    snowriderau
    Participant

    After much headache I have got Xftpd on osx server working behind a firewall.

    You need to alter you rftp access file in Library\ftpserver\configuration

    Add following lines and this will work..

    passive address 10.0.0.1 10.0.0.0/8 (Where 10.0.0.1 is your ftp server, this allows access locally.)
    passive address 245.x.x.x 0.0.0.0/0 (Hint if you have a dyndns name add it instead of the ip address)

    Then add restriction on your ports to narrow down number of ports required to be open on your firewall. eg..

    passive ports 10.0.0.1 10.0.0.0/8 50000 65000
    passive ports 245.x.x.x 0.0.0.0/0 50000 65000

    Also other notes with xftps, recent security update change the http://ftp.plist file and set it back so loads ftpd which is the client config, you need to change this back to the default if your affected.

    Also suggest you set your default settings back and then tweak them as required for the ftpaccess file, from ftpaccess.default.

    If you wish to change the ports that ftp runs on your server, edit \etc\service and change the ports listed against ftp.

    eg change to 1021

    Enjoy… Hope this hlps people as this taken some days to get working again… but all good now..

Viewing 1 post (of 1 total)