How to set passive ports in proftpd.conf

ARUN Post in FTP
0

vi /etc/proftpd.conf

PassivePorts                    30000 50000

Make sure the same is added in firewall as well

================================================================
IG_TCP_CPORTS=”20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096,10000,30000_50000,8443,8447,5224,8880″
IG_UDP_CPORTS=”20,21,53,1040,30000_50000″
EG_TCP_CPORTS=”20,21,22,25,26,37,43,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2089,2095,2096,10000,30000_50000,8443,5224,8880″
EG_UDP_CPORTS=”20,21,37,53,123,1040,30000_50000″
==================================================================
NOTE : if its  CSF then use port in csf.conf as mentioned below :
30000:50000
« Prev: :Next »

Leave a Reply

You must be logged in to post a comment.