reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

How to enable Passive mode support in ProFTP server [1/1]

Type: Code reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
How to enable Passive mode support in ProFTP server
Level: Beginner reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia 
How to enable Passive mode support in ProFTP server
Date: 2007-Apr-07
How to enable Passive mode support in ProFTP server
Visited: 1489 times
How to enable Passive mode support in ProFTP server
Rating: How to enable Passive mode support in ProFTP server
How to enable Passive mode support in ProFTP server
Author: Stephen Think
This tutorial will show you how to configure your ProFTP server to accept Passive mode connections. Passive mode is mainly used when the client is behind a firewall or a router.



This is done by:

1) Start by finding the configuration file of your ftp server. Use the locate command.

locate proftpd.conf

We will assume that it was found in the default location.
2) Open this file with a text editor.


vi /etc/proftpd.conf

3) Put in the file this line PassivePorts 60000 65000.

I will recommend to put it right after the line which defines the default listening port, which is 21.

Now the FTP server is configured for passive mode support. We will have to configure the server firewall to accept connections on these ports as well.


4) Putting

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 60000:65000 -j ACCEPT

into your /etc/sysconfig/iptables file - the default firewall service

5) All that is left is to restart both applications so the new settings take effect

/etc/init.d/iptables restart
/etc/init.d/xinetd restart

Rate this tutorial:                    
reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia - How to enable Passive mode support in ProFTP server [1/1] - reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia
RECOMENDED TUTORIALS

Need a specific tutorial? Do not hesitate and submit a request!
Keywords: remote desktop port  change remote desktop port  rdp port number  remote desktop port number  RDP port  function overloading in c++  change RDP port  exception handling in C++  rdp ports  remote desktop ports  function overloading  Trillian webcam  remote desktop port change  windows remote desktop port  remote desktop change port  exception handling c++  how to change remote desktop port  change remote desktop port number  function overloading c++  check my windows version