HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

cant access ftp

Hi guys ;D

well I have been trying to get proftpd to work and it does, when I access it from my home network but when I try from ourside I only get as far as asking for a username/password and after that nothing happens. I have also changed the port form 21 to 8021 (ISP blocks 21) I don&#039;t know why I can get gnump3d to work and a friend (same isp) was able to get a site up and running.

so I have used dnydns and even specified the port and as ftp:// insted of http://.

I am also behind a linksys router and I forewarded the ports to the right ip.

Re:cant access ftp

A quick way to find out if it&#039;s your router or your server that&#039;s not quite right, put your FTP box in the DMZ of your router. If that works, you don&#039;t have your router set up properly. If not, then your proftpd.conf or your FTP directories are not set up properly.

Here is my proftpd.conf file (adjust to taste):

# This is a basic ProFTPD configuration file (rename it to
# &#039;proftpd.conf&#039; for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# &quot;nobody&quot; and &quot;ftp&quot; for normal operation and anon.
ServerTypestandalone
DefaultServeron

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestarton

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances30

# To cause every FTP user to be &quot;jailed&quot; (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
AllowOverwriteon

# Bar use of SITE CHMOD by default
&lt;Limit SITE_CHMOD&gt;
DenyAll
&lt;/Limit&gt;

Re:cant access ftp

Your masquerade address is wrong. You want the public IP address, not the private one. Use dnsdyn.org to create a public URL that maps to your public IP address so you don&#039;t have to memorize the IP address string.

Also, double check the virtual server settings in your router to make sure you&#039;ve mapped the ports to your 192.168.0.102 machine. Are you using 8889 or 8021 for FTP? It&#039;s also important to make sure you&#039;ve opened up the range for passive FTP (e.g., 65000 to 65535). Can you post a screen shot of your virtual server settings?

Try using my proftpd.conf file instead of yours and make sure the virtual server settings line up.

Re:cant access ftp

I&#039;m not familiar with Linksys routers, but don&#039;t you need to check the box in the far right column to open up the ports from 60000 to 65535?

Also, if you follow the instructions at http://www.linuxjunior.org/yabbse/in...threadid=10510, you will not be able to access your FTP server from inside the firewall. But, that shouldn&#039;t be a problem because you can access your FTP directories directly from any LAN box using Samba or NFS. Or, you can always access the FTP server via the Internet like the public does.

When you tried my proftpd.conf file, did you put your FTP box in the DMZ of your router?