On Tuesday 07 September 2004 16:00, Rikard Johnels wrote:
How do i (and can i) write rules so specific ftp accounts (authenticated internal users) end up on 192.168.1.2 and my external clients end up on the DMZ server
I have personal webpages and home directories plus some NFS folders for the internal network on the internal server that i want to keep there,and i want the clients webpages, along with their respective ftp logins to end up on the DMZ. I know it's probably stupid to mix the webserver like this. But the users work both locally from the internal network using their homefolders, and the homepages from outside with theirftp logon.
Any hints and suggestions would be of value.
My suggestion: let all users go to the DMZ machine when connecting from the internet, and then for each directory that you want to have on the internal machine, run a mirror job, rsync for example, periodically that pulls it over I don't think it's possible to do with iptables alone, but I hope I'll be corrected if I'm wrong