Cron? vsftp? iptables?
ok, i hope i dont get flamed too much here -
I run vsftpd - in order to make passive xfer work for my end users, i have to run these commands:
-------------------------------
/sbin/modprobe ip_conntrack_ftp
/sbin/modprobe ip_nat_ftp
/sbin/iptables -F
-------------------------------
now for some reason only recently i've needed to re-run these commands througout the day as i've noticed that passive xfer wasn't being allowed even after these commands had been run -
SO i tried to set up kcron task
- i listed the the above commands exactlly the way i listed them here and set it to load everyday, every hour, every five minutes.. i then rebooted the machine
- and the jobs dont appear to be running, i still have to run them manually in order for passive to work
- do i need to add these jobs in kcron logged in as root? hmm, i dont know,,
HELP is appreciated
OHH and im set up like this -
Cable connection/modem
Router doing dhcp (private ip's) and Port forwarding
Last edited by dgnr8; 02-27-2004 at 11:16 PM.
|