[solved] proftpd behind a NAT Hi there, I first want to thank all the admins for their excellent insights into all the problems posted here. I've managed to solve a lot of my own by searching around this forum. Here's one: my ispconfig machine is at 192.168.110.6 behind a hardware router doing NAT for all the useful ports. I'm getting error 500 while attempting to login to the ftp server. /etc/proftpd/proftpd.conf Code: PassivePorts 27000 27100 # as NATted through the router MasqueradeAddress the.routers.public.ip ... Include /etc/proftpd_ispconfig.conf <EOF> /etc/proftpd_ispconfig.conf Code: DefaultAddress 127.0.0.1 <VirtualHost the.routers.public.ip> DefaultRoot ~ AllowOverwrite on Umask 002 </VirtualHost> <VirtualHost 192.168.110.6> DefaultRoot ~ AllowOverwrite on Umask 002 </VirtualHost> If I make it look like the following, ftp login just works. Code: #DefaultAddress 127.0.0.1 DefaultAddress 192.168.110.6 <VirtualHost the.routers.public.ip> DefaultRoot ~ AllowOverwrite on Umask 002 </VirtualHost> #<VirtualHost 192.168.110.6> # DefaultRoot ~ # AllowOverwrite on # Umask 002 #</VirtualHost> No firewall or whatsoever. I've also tried manually editing the file and removing the write permissions after, but ispconfig seems to overwrite it with the initial content. Any idea how I should make ispconfig ignore that file? Thanks.
Please try to comment out the include line for /etc/proftpd_ispconfig.conf in proftpd.conf and restart proftpd.