PDA

View Full Version : Ftp issue


04091985
Sep 4, 2008, 07:25 AM
Hi,


I am using an ftp client which is free source that is zftp my question is that I have a static ip configured in my PC but the background of my exact public ip doesn't change . Now how can I NAT the ip so that I can translate the public ip which is running on back of my network to my static ip which is in my PC :confused:

KISS
Sep 4, 2008, 08:19 AM
You need to set the client mode of FTP to passive.

Yes, you peobably have static FTP, but it's probably a private non-internet routable address like one beginning with 10.x.x.x or 168.192.x.x.

Your IP address can be found by running What Is My IP Address? - IP Address Lookup, Internet Speed Test, IP Info, plus more (http://www.whatismyip.com). Compare with the results of ipconfig.

see:
http://www.slacksite.com/other/ftp.html

04091985
Sep 4, 2008, 08:26 AM
Thanks for your reply . But I couldn't find passive mode in my ftp client . Any other way or suggestions?

KISS
Sep 4, 2008, 11:07 AM
Your going to have to help me out a bit. Zftp is a protocol and a hosting service, e.g. FTP Hosting, FTP Host, FTP space, FTP upload, FTP backup, FTP storage (http://www.zftp.com) . Need some help. I assumed thet zftp was a client for standard ftp.

If this were an FTP command line, it might look like.

ftp
ftp> passive
Passive mode on.
ftp>

Bold is what the user types.

Also, was I correct about the IP address range that is assigned to your computer?

chuckhole
Sep 5, 2008, 07:00 AM
What are you trying to accomplish? Is the address you are using on your PC visibile to the Internet. As KISS stated, the addresses that are typically used by home routers are not routable on the Internet. So if you are trying set up an FTP server, this will not be possible with this configuration.

The FTP client can transfer data with either a GET or a PUT. But it is the client that makes the request, not the server.

KISS
Sep 5, 2008, 07:17 AM
FTP servers can be set up on home networks visible from Internet, but it is quite difficult. I've done it.

04091985
Sep 5, 2008, 07:26 AM
FTP servers can be set up on home networks visible from Internet, but it is quite difficult. I've done it.


Zftp is actually an mail client . Thing is how will I nat my static ip that is 10.xx.xx.xx to public ip which is running on the background which is public ip ie:121.xx.xx.xx . Can I use any software to nat it or any other idea ?

KISS
Sep 5, 2008, 08:14 AM
Things are very confusing. First point to a link for zftp that has some documentation. That will help bunches.

Next: Every one and his brother has addresses beginning with 10.

The 121 address may change periodically from your ISP unless you have a static addresss from your ISP. Powering off your modem may change the address. Whatismyip.com will tell you that address.

If your successfully connected to the Internet with your PC, your probably already using NAT. This basically allows outgoing services to work most of the time.

To help you a bit. A service is defined as a port number from 1-65535. The lower ports (something line 1-1000) are privledged. http, for instance uses a default port of 80. Sending mail, another. IMAP another, POP another, etc.

Some services need the router to open other ports when a request from inside the network opens a given port. Not all routers will do this. Usually it's called a trigger port.

If you need a service to run on your network such as a webserver on the default port of 80, you forward that incoming port in the router to a fixed IP address on your network. This says that only ONE http server can run on your network on port 80.

Mail clients should have no trouble connecting outside.

What errors are you getting?

04091985
Sep 5, 2008, 08:34 AM
Any way thanks for your kind information . But my issue is isp has assigned me an public ip which doesn't change(121 series) . Now I have an private ip that is 10 series to communicate locally in the network . Now my idea is that when I enter the public ip of 121 series that is from anywhere from the world I need that address to be translated to my private address that is 10 series and retrieve the data. I hope you got it now . Now other thing what is the procedure to nat this ip's

KISS
Sep 5, 2008, 08:42 AM
OK.

Now the question becomes, what ports do you need open on your PC. For security reasons, just open the ports you need.

There will be two things to do:
1) forward the ports in the router
2) Open the ports in windows firewall.

You can designate the internal machine as the DMZ and all ports will be open to that computer.

Be aware that some institutions restrict the use of outgoing ports. For instance, our library only allows http and https.

So, what services do you need open?
Where is the link for the instruction manual for your router?

chuckhole
Sep 5, 2008, 05:12 PM
OK.

Now the question becomes, what ports do you need open on your PC. For security reasons, just open the ports you need.

There will be two things to do:
1) forward the ports in the router
2) Open the ports in windows firewall.

You can designate the internal machine as the DMZ and all ports will be open to that computer.

Be aware that some institutions restrict the use of outgoing ports. For instance, our library only allows http and https.

So, what services do you need open?
Where is the link for the instruction manual for your router?

On my home LinkSys router, you go into the Applications and Gaming section. This is where you set the IP address, MAC address or the specifically, port 4 on the switch as the DMZ Host. This exposes the services running on that machine to the Internet. This will disable the Firewall Settings for that port if you have enabled and configured the Firewall for your Router.

Your router will likely be limited to just this one device that can be published to the Internet.

There are much more advanced options available at a price. We use Microsoft ISA Server for this purpose to publish our Outlook Web Access for email, Exchange Active Sync and Good Server for cellular phone access to email and also an FTP server for providing vendor and client correspondence.