two ftp servers on same machine
hello all
i m using Redhat 7.2 and i have installed vsftp over it.It works fine so far.It has disabled anonymous access. But now i want something weired i want to give two different ips to the same NIC that i have done. but i want users to access my vsftp server by only by one of these ips.And i also want to setup other ftp server which will allow anonymous access to the other ip . Can i do it ???and if yes please show me the whole procedure.. thanks in advance |
I am not famililar with vsftpd, but I have used proftpd and ncftpd and in both of those programs you can specify virtualhosts where you can configure your ftpd to do different things based on different ip addresses, different domains or different ports. Just like you do in apache. Look at the documentation for virtual hosts. Here is an example for proftpd
# The VirtualHost and Limit directives here prevent FTP access to any # IP Address other than the Load Balancer IP. Remove these directives # if the Load Balancer goes down. # <VirtualHost 192.168.1.11> # <Limit LOGIN> # DenyAll # </Limit> # </VirtualHost> |
why do you want to do this?
|
thanks for the reply
But what i need is: Two different ips to one NIC of the server. then giving non anonymous vsftp service on one ip and providing anonymous ftp service on other ip if there is other way to catter my need then also tell me Thanks |
All times are GMT -5. The time now is 06:00 AM. |