I am trying to setup a FTP server using ProFTPD on Xubuntu 15.10. Users will connect to this server in two ways:
- internally (using an internal IPv4 address)
- externally (using domain name pointed to NATed IPv4 and global IPv6)
On top of that, I need to chroot all users to /share
directory except one user group and to use different SSL (TLS) certificates for internal and external use.
I have actually set up the server to the phase where everyting is masqueraded to public IPv4 address. However, this block users to connect from internal address.
My original idea was to do it via virutal hosts, but I was not able to do it this way.
From Google I got nothing helpful on this topic. So, is there a good way to do this?