LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-15-2003, 04:25 PM   #1
RinGz
LQ Newbie
 
Registered: Oct 2003
Location: Atlanta, GA and Dallas, TX
Posts: 23

Rep: Reputation: 15
vsFTPd: change listening port


I've sorta got a problem. My ftp server is getting scanned about 100+ times a day, so I want to change the port on which it listens. I found another thread that says to change the /etc/xinetd.d/vsftpd and add the line:
port = whatever

also the /etc/services should be edited, but I'm not sure how to edit this (well, what to change rather). Plus, I don't even know if this will work with vsFTPd, for the other thread was for another protocol, but as far as I know, it should be the same thing for all protocols.

Thanks for your help
-RinGz
 
Old 11-15-2003, 06:13 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
from the VSFTPD FAQ :

Q) Help! Can I change the port that vsftpd runs on?
A1) Yes. If you are running vsftpd in standalone mode, use the "listen_port"
directive in vsftpd.conf.
A2) Yes. If you are running vsftpd from an inetd or xinetd program, this
becomes an inetd or xinetd problem. You must change the inetd or xinetd
configuration files (perhaps /etc/inetd.conf or /etc/xinetd.d/vsftpd)
 
Old 11-15-2003, 07:35 PM   #3
RinGz
LQ Newbie
 
Registered: Oct 2003
Location: Atlanta, GA and Dallas, TX
Posts: 23

Original Poster
Rep: Reputation: 15
don't you just love to be made to feel a fool? I sure do :-D

thanks. I'll do it that way then (the xinetd way)
haha... yeaaah.....
 
  


Reply



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
Change VSFTPD Port Fedora 2 br00tal Linux - Networking 3 04-09-2005 09:35 AM
2 servers listening on port 80 possible? scrawl Linux - Software 1 03-13-2005 05:06 PM
Listening on a serial port calebsg Linux - General 2 10-13-2004 10:45 AM
ssh listening on port 22 sharpie Linux - Security 9 06-08-2004 03:28 PM
How to change listening port of echo server [RH9]? immer Linux - Networking 5 11-29-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:49 PM.

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