View previous topic :: View next topic |
Author |
Message |
OSF n00b
Joined: 23 Mar 2004 Posts: 10 Location: Standard, Alberta, Canada
|
Posted: Mon Jun 07, 2004 8:21 pm Post subject: Proftpd behind a smoothwall box |
|
|
I am curently trying to set up an ftpserver using proftpd and I can access it locally using ftp://user@192.168.1.197 (smoothwall box being 192.168.1.1) but as soon as I try to give acess to my friends via the internet they are not able to connect as the connection times out. On the smoothwall box I have forwarded ports 20 and 21 and also passive ports 60000:65535 to 192.168.1.197
My /etc/proftpd/proftpd.conf file is as follows:
[/code]
ServerName "ProFTPD on GMC
ServerType standalone
DefaultServer on
RequireValidShell off
AuthPAM off
AuthPAMConfig ftp
Port 21
Umask 022
MaxInstances 30
User proftpd
Group proftpd
RootLogin on
LoginPasswordPrompt on
<Global>
DefaultRoot /mnt/hdb/FTP/
AllowForeignAddress on
tcpNoDelay on
</Global>
PassivePorts 60000 65535
MasqueradeAddress osf.homelinux.com
[/code]
Any help would be greatly apreciated |
|
Back to top |
|
|
curtis119 Bodhisattva
Joined: 10 Mar 2003 Posts: 2160 Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.
|
Posted: Tue Jun 08, 2004 1:39 am Post subject: |
|
|
according to the smoothwall admin handbook
http://download.smoothwall.org/archive/docs/2.0/admin.pdf
there is code built in that handles ftp server traffic automatically. All you need to do is forward port 21 to whichever ip address has the ftp server on it and smoothwall does the rest. I think all the extra forwarding you did confused it. _________________ Gentoo: it's like wiping your ass with silk. |
|
Back to top |
|
|
OSF n00b
Joined: 23 Mar 2004 Posts: 10 Location: Standard, Alberta, Canada
|
Posted: Tue Jun 08, 2004 2:39 am Post subject: |
|
|
That was the first way that I tried because of the smoothwall admin manual, when that didn't work I kept searching the forums and found that port 20 and to set the passive ports and forwarded the restricted ranges. Thaks for the thought though it is apreciated. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|