LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-20-2003, 07:27 AM   #1
alpesh
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Rep: Reputation: 0
Lightbulb 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
 
Old 08-20-2003, 08:37 AM   #2
bfisk
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
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>
 
Old 08-20-2003, 08:47 AM   #3
Nerd2
Member
 
Registered: Apr 2003
Location: Brissle, England
Posts: 97

Rep: Reputation: 19
why do you want to do this?

Last edited by Nerd2; 08-20-2003 at 09:08 AM.
 
Old 08-20-2003, 10:20 PM   #4
alpesh
LQ Newbie
 
Registered: Jul 2003
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple RADIUS servers on a single machine skiros Linux - Software 3 11-02-2005 06:48 AM
FTP Servers grahammm Linux - Software 1 08-02-2004 07:15 AM
FTP Servers booya72 Linux - General 3 02-16-2004 09:02 AM
FTP Servers torman89 Linux - Software 3 11-30-2003 07:36 PM
Running Multiple X-Servers on the same Machine Chryzmo Linux - Newbie 1 08-31-2003 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration