LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   proftpd (Router port change and limit login rule) (https://www.linuxquestions.org/questions/slackware-14/proftpd-router-port-change-and-limit-login-rule-298568/)

icehenge 03-07-2005 12:05 AM

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?

RomanG 03-07-2005 03:03 AM

Post here your network map.

icehenge 03-07-2005 03:23 PM

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.


All times are GMT -5. The time now is 02:22 PM.