Solved

bind vsftp to more than one NIC or IP

Posted on 2011-02-27
1
1,226 Views
Last Modified: 2012-05-11
I have very secure FTP running on my Linux box, I know that its configured well enough to allow anonymous connections, browse, upload and download files off of it. The box that runs vsftpd has two IPs and I noticed that I can only see the FTP server via one of the IPs, how can i bind vsftpd to both IPs (they are different subnets) and block it from another IP if I add another to it in the future?
0
Comment
Question by:J-Vas
1 Comment
 
LVL 57

Accepted Solution

by:
giltjr earned 125 total points
ID: 34993883
By default vsftp should listen on all IP addresses that the server has.

However, if you want to limit which IP addresses it listens on you need to use the "listen_address" parameter in the vsftpd.conf file.

http://vsftpd.beasts.org/vsftpd_conf.html
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question