LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-07-2005, 12:05 AM   #1
icehenge
Member
 
Registered: Jan 2004
Location: Tennessee
Distribution: Slackware 8.1 (KDE 3.0.1)
Posts: 69

Rep: Reputation: 15
proftpd (Router port change and limit login rule)


Hi, Just wanted to setup ftp for once a month use and it will be
disabled when not in use. I have a family member who wants to
upload for offsite storage.

So proftpd works fine when I have it setup to default settings.

So I figured i changed a few setting for security.
I wanted to setup some basic non standard parameters I set my router
to accept port 1900 and forwarded it to port 21 on my system.

But proftpd does this
SECURITY VIOLATION: Passive connection from 192.168.0.13 rejected.

And if I search google I find some message about using ftp over SSH.
I'm just port forwarding at the router. Any way around this problem?

Also when I try this argument in the proftpd.conf it doesn't work either?

# Limit Login to IP address range
<Limit LOGIN>
Order deny,allow
Deny from all
Allow from 60.10.30.
</Limit>

Pretend their IP is 60.10.30.2
That rule doesn't work and they aren't allowed access.

Any thoughts?
 
Old 03-07-2005, 03:03 AM   #2
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
Post here your network map.
 
Old 03-07-2005, 03:23 PM   #3
icehenge
Member
 
Registered: Jan 2004
Location: Tennessee
Distribution: Slackware 8.1 (KDE 3.0.1)
Posts: 69

Original Poster
Rep: Reputation: 15
Cable modem ---> Router DLink model ----> PC's

PC's are on a 192.168.0.X IP range with a subnet of 255.255.255.0
My machine is addressed 192.168.0.13

I used to use SSH while at work and had the router set to port
forward. Like Router public port 1200 forwarding to private
port 23 on my machine and it worked great. So i'm trying to
do something similar with ftp.

Any more infomation i'll be happy to supply.
 
  


Reply



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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
does anyone know how to limit file type about proftpd! singying304 Linux - Software 10 07-14-2005 07:42 AM
how do I limit bandwidth to my PROFTPD clients overproof Linux - Newbie 3 04-17-2005 11:34 AM
Proftpd commands and procedures to limit Radicalm16 Linux - Software 1 12-24-2003 08:34 PM
proftpd - limit user browsing to there dir only bkeating Linux - Software 1 12-05-2002 02:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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