When you use NAT with ProFTPD you need to add MasqueradeAddress to the proftpd.conf file.
Is it possible to add this to the proftpd.conf file that custombuild makes? I think you can check the directadmin.conf lan_ip and ethernet_dev value if there is NAT used.
Here (at the bottom) you can find all the info: http://www.proftpd.org/docs/howto/NAT.html
You need to add this:
	
	
	
		
				
			Is it possible to add this to the proftpd.conf file that custombuild makes? I think you can check the directadmin.conf lan_ip and ethernet_dev value if there is NAT used.
Here (at the bottom) you can find all the info: http://www.proftpd.org/docs/howto/NAT.html
You need to add this:
		Code:
	
	<IfModule mod_ifsession.c>
    # Define a class for internal clients
    <Class internal>
      From 10.0.0.0/8
    </Class>
    # Internal clients get a different MasqueradeAddress
    <IfClass internal>
      MasqueradeAddress 10.1.2.3
    </IfClass>
    # All other clients get some different, public MasqueradeAddress
    <IfClass !internal>
      MasqueradeAddress 1.2.3.4
    </IfClass>
  </IfModule>
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
 
		
 
						
					