Hi everyone,
Let me start off with, Great Work
Charles!
I had this working with LRP 2.9.8, and now
have it working with Dachstein, although I have a few issues with
network.conf.
To start off, I am using Guild FTP
(freeware). This software which has one drawback (besides being Windows
based), it does not run as a service in Windows NT/2000/etc. I am playing around
with some utilities to get around this, but I can live with it. Another good
choice is to pay the $30 and get Bulletproof FTP. The big thing about these FTP
servers is that you can specify the ports that are used with Passive FTP. I use
10 ports in the 20,000 range.
One other thing that is required for your
FTP to work, is a client that supports passive tranfers. I really like CuteFTP,
since it also integrates with the Windows shell.
I put the following into the IPChains
portion of network.conf:
#FTP running on Port 21 EXTERN_TCP_PORT0="0/0 21"
EXTERN_TCP_PORT1="0/0 21000" EXTERN_TCP_PORT2="0/0 21001" EXTERN_TCP_PORT3="0/0 21002" EXTERN_TCP_PORT4="0/0 21003" EXTERN_TCP_PORT5="0/0 21004" EXTERN_TCP_PORT6="0/0 21005" EXTERN_TCP_PORT7="0/0 21006" EXTERN_TCP_PORT8="0/0 21007" EXTERN_TCP_PORT9="0/0 21008" EXTERN_TCP_PORT10="0/0 21009" EXTERN_TCP_PORT11="0/0 21010" And the following into the Port Forwarding section of network.conf
INTERN_SERVERS="tcp_${EXTERN_IP}_21_192.168.1.2_21
tcp_${EXTERN_IP}_21000_192.168.1.2_21000 tcp_${EXTERN_IP}_21001_192.168.1.2_21001 tcp_${EXTERN_IP}_21002_192.168.1.2_21002 tcp_${EXTERN_IP}_21003_192.168.1.2_21003 tcp_${EXTERN_IP}_21004_192.168.1.2_21004 tcp_${EXTERN_IP}_21005_192.168.1.2_21005 tcp_${EXTERN_IP}_21006_192.168.1.2_21006 tcp_${EXTERN_IP}_21007_192.168.1.2_21007 tcp_${EXTERN_IP}_21008_192.168.1.2_21008 tcp_${EXTERN_IP}_21009_192.168.1.2_21009 tcp_${EXTERN_IP}_21010_192.168.1.2_21010"
This solution works perfectly and people are able to connect into my
server. My one issue with network.conf is that when I was using the
following lines, the port forwarding did not work. (I know the lines are
commented right now, that is not the problem :-) )
#FTP Server
#INTERN_SERVER2="-a -P tcp -L $EXTERN_IP 21 -R 192.168.1.2 21" #INTERN_SERVER3="-a -P tcp -L $EXTERN_IP 21000 -R 192.168.1.2 21000" #INTERN_SERVER4="-a -P tcp -L $EXTERN_IP 21001 -R 192.168.1.2 21001" #INTERN_SERVER5="-a -P tcp -L $EXTERN_IP 21002 -R 192.168.1.2 21002" #INTERN_SERVER6="-a -P tcp -L $EXTERN_IP 21003 -R 192.168.1.2 21003" #INTERN_SERVER7="-a -P tcp -L $EXTERN_IP 21004 -R 192.168.1.2 21004" #INTERN_SERVER8="-a -P tcp -L $EXTERN_IP 21005 -R 192.168.1.2 21005" #INTERN_SERVER9="-a -P tcp -L $EXTERN_IP 21006 -R 192.168.1.2 21006" #INTERN_SERVER10="-a -P tcp -L $EXTERN_IP 21007 -R 192.168.1.2 21007" #INTERN_SERVER11="-a -P tcp -L $EXTERN_IP 21008 -R 192.168.1.2 21008" #INTERN_SERVER12="-a -P tcp -L $EXTERN_IP 21009 -R 192.168.1.2 21009" #INTERN_SERVER13="-a -P tcp -L $EXTERN_IP 21010 -R 192.168.1.2 21010" And the Autoforward did not seem to work either.
#FTP passive ports for requests on Port 21
#INTERN_AUTOFW0="-A -r tcp 21000 21010 -h 192.168.1.2" I think that the new options in network.conf are great, but it will take me
a little while to sift through everything, to fully understand them. :-)
Cheers
|
- Re: [Leaf-user] Passive FTP Working fine with Dachste... Bob Smith
- Re: [Leaf-user] Passive FTP Working fine with Da... Charles Steinkuehler
- Re: [Leaf-user] Passive FTP Working fine wit... Bob Smith
- Re: [Leaf-user] Passive FTP Working fine wit... Matt Schalit