LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2010, 04:19 PM   #1
rridler
Member
 
Registered: Apr 2004
Location: N. Kentucky
Distribution: Fedora 13 and Fedora 14
Posts: 46

Rep: Reputation: 15
How to do an FTP Port Redirection on VSFTP


I am having trouble getting my FTP server to work now that I am unable to use the default ports because they are now blocked by my ISP.
I am using a Dynamic DNS service (no-ip.com) with port redirection.

What I am trying to do is redirect to a port of 18021 to my VSFTP server and have it respond with the apropriate service.
example: my-hostname is being redirected to my-hostname:18021

How do I set up VSFTP to listen to port 18021 and respond accordingly?

FYI, I also have Apache running on port 18080 on the same machine.

OS: Fedora 13
Kernel and CPU: Linux 2.6.34.7-61.fc13.x86_64 on x86_64
Processor Information: AMD Athlon(tm) Processor 2850e , 1 cores
Apache version: 2.2.17-1.fc13.1
VSFTP version: 2.2.2-7.fc13

Thanks for the help,
R. Ridler
 
Old 12-04-2010, 04:40 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You have to add in vsftpd.conf:
Code:
listen_port=18021
and make sure it's running standalone (i.e. you have LISTEN=YES)

Regards
 
  


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
when do we do port redirection? your_shadow03 Linux - Newbie 2 02-10-2010 01:26 AM
Need help with Cisco port redirection / port triggering kool_kid Linux - Networking 0 08-06-2009 02:25 AM
Port redirection in the same machine viveksnv Linux - Networking 5 03-31-2009 05:21 AM
Port 80 redirection omlex Linux - Security 1 02-20-2005 03:22 PM
Port Redirection JonChristmas Linux - Networking 1 09-04-2004 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:59 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