Make public IP adress to private

  • Hello,


    i have a server behind a firewall.
    The private IP is x.x.x.2
    Now i have to set the MasqueradeAddress option of proftpd to the INTERNAL adress because the firewall expects the internal ip due to protect of ftp bounce attacks.
    I set the MasqueradeAddress option manually and everything works.


    How can i make this option persistent? Probably a listener file?




    Also i want to limit the traffic. I used


    TransferRate RETR,STOR,APPE,STOU 8000
    but this has to be persistent too