you could setup the server as normal, and put entries in hosts.allow and hosts.deny, i never use those files so i dont know without looking it up how to edit them but the syntax is terribly simple. You could also add some iptables rules to block access to the ftp port from any address that's not a 192.168 address, now that i do know:
iptables -A input -s ! 192.168.0.0/24 -p tcp -dport 23 -j DROP
i get all the ports in the 20's mixed up so im not sure if 23 is telnet or ftp, but make sure you sub in the ftp port, i do know that ssh is 22 though, but i never fool with ftp or telnet so im not sure...i just picked one.
|