[Xitami] FTP , data mode not working
Johannes Prost
xitami@lists.xitami.org
Sun, 20 Feb 2005 13:03:15 -0600
Am 20 Feb 2005 um 3:35 hat d calif geschrieben:
> Once again, Thanks to ALL offering help and support!!!
>
> FTP now working! BUT!
>
> First note, I have a dynamic IP.
> To get FTP server operating I had to put the external IP in the default.cfg.
Then you prpably has NOT port forwarding setup in the advanced tab of your router, or
do you ?
> Also Force IP to on.
> In addition Ports 8020, 8021, and range 8020 - 8030 were openned in the
> router.
You don't need to do that. As I desribed in my previous post, you enable the "virtual ftp
server" in the advanced tab in the router under
1. open the router GUI in the browser
2. click advanced tab
3.scroll down, mark the preconfigured virtual ftp server
4.it should be now shown in the fields above with name ect. You ONLY have to put in
the ip of your ftp server machine, something like 192.168......NOT the public ip !!
5. just click enable
6. click "apply"
7. in the next window "save settings ?"
8.click " yes"
9. Now your ftp server is ready to get connections.
> BUT, having to put the hard IP in default.cfg, means that I will have to
> manually edit the default.cfg every time my dynamic IP changes. Not a good
> solution.
Sorry, but that is totally wrong.
> Here are my default.cfg
>
> [Ftp]
> enabled = "1"
> Limit = "25"
> Pipe = "64k pipe A"
> User-file = "ftpxxxxts.aut"
> ipaddress = "63.163.33.138"
> force-ip = "1"
> passiveip = "63.163.33.138"
>
> Please commit if you have a solution for dynamic IP other than the current
> hard IP I have to use.
> I did try putting the domain mysite.yi.org as ip addr, and passive ip, that
> didn't work, could connect but not get the data port working, xitami kept
> returning the local ip. The only way so far to get the external IP returned
> so passive data transfer on 8020 worked was the above config.
>
> If I am stuck with the above solution, can someone recommend a utility that
> will get a string from a file and then replace a string in another file,
> this has to be all command line or ini file initiated. I have a Dynamic
> Update Client that saves a IP.txt with the current IP, and the same client
> will execute another program upon update of IP with dns service. So Update
> client saves IP, utility will grab IP and replace the old IP in default.cfg.
> (it would be great if Xitami did this with the DDNS module).
>
> Again thanks to all who offered help......
>
>
with the normal configuration, you have to update your DNS settings. That will be in
your case yi.org ? Is that correct.
I'm using zoneedit.com as my dns service.It's free and lost of features with an easy to
understand webinterface. I'm running my mail and webserver since 2,5 years with them.
No problem at all.
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
Johannes