Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Proftpd behind a smoothwall box
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
OSF
n00b
n00b


Joined: 23 Mar 2004
Posts: 10
Location: Standard, Alberta, Canada

PostPosted: Mon Jun 07, 2004 8:21 pm    Post subject: Proftpd behind a smoothwall box Reply with quote

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
View user's profile Send private message
curtis119
Bodhisattva
Bodhisattva


Joined: 10 Mar 2003
Posts: 2160
Location: Toledo, Ohio,USA, North America, Earth, SOL System, Milky Way, The Universe, The Cosmos, and Beyond.

PostPosted: Tue Jun 08, 2004 1:39 am    Post subject: Reply with quote

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
View user's profile Send private message
OSF
n00b
n00b


Joined: 23 Mar 2004
Posts: 10
Location: Standard, Alberta, Canada

PostPosted: Tue Jun 08, 2004 2:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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