how to access ftp server over internet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • goontron
    5000!
    • Dec 2011
    • 4108
    • US

    #1

    how to access ftp server over internet

    i have an ftp server running on my debian pentium-d computer with a 100mb network and a cisco router, i want to access my ftp over the web but my budget for this is 0$ so i can't get a domain name so is there any way i can get to my ftp over the internet?
    Things I've fixed: anything from semis to crappy Chinese $2 radios, and now an IoT Dildo....

    "Dude, this is Wyoming, i hopped on and sent 'er. No fucking around." -- Me

    Excuse me while i do something dangerous


    You must have a sad, sad boring life if you hate on people harmlessly enjoying life with an animal costume.

    Sometimes you need to break shit to fix it.... Thats why my lawnmower doesn't have a deadman switch or engine brake anymore

    Follow the white rabbit.
  • Topcat
    The Boss Stooge
    • Oct 2003
    • 16956
    • United States

    #2
    Re: how to access ftp server over internet

    Not unless you have a live IP. You could then map static routes on your router to the intranet IP of the FTP server on the LAN. You do not need a domain name for FTP.

    for example: ftp://199.68.189.233 will do the same thing as ftp://badcaps.net. All you need is a live IP...
    <--- Badcaps.net Founder

    Badcaps.net Services:

    Motherboard Repair Services

    ----------------------------------------------
    Badcaps.net Forum Members Folding Team
    http://folding.stanford.edu/
    Team : 49813
    Join in!!
    Team Stats

    Comment

    • mariushm
      Badcaps Legend
      • May 2011
      • 3799

      #3
      Re: how to access ftp server over internet

      In order to make something publicly available on the internet, you normally first have to check if your ISP allows it.
      Most ISPs don't allow you to host 24/7 services like web servers (to host websites) or ftp servers on your home connection.
      Some won't care though, so as long as nobody reports you, you'll be fine. Others block incoming stuff, so people trying to access your computer won't even see you as online.

      Next step is you must have an IP that can be accessed directly from around the world. You ideally need a static IP - that's an IP that doesn't change every time you reset your dsl/cable modem or restart your computer. If your IP changes very often, there's really no point in even trying. If the IP changes rarely (once every few months) it should be easy.

      Next, you need a name for your website or ftp server, which is a domain. The domain points to your IP so that if at any time your IP changes, you can just update the IP in the domain name configuration and users will not have to remember your IP.
      You can buy a domain, which cost anything between 2-3$ and 10-12$ a year... the company who sells the domain usually also gives you the control panel where you put the IP and everything needed to make the domain point to your computer.

      If you don't want to spend money, there are free subdomain services... for example see : http://freedns.afraid.org/

      Basically you signup and make up a name, like "goontron", and then you get a domain like "goontron.homenet.org" and from that site's control panel you can set the ip.

      Then whoever writes ftp : / / goontron .homenet.org will connect to your IP.

      Finally, you have to set up your router to forward all commands coming to the router's IP to your computer that has the ftp server. There should be a page in your router's settings called "port forwarding" or "ftp redirection" or something like that.

      Comment

      • goontron
        5000!
        • Dec 2011
        • 4108
        • US

        #4
        Re: how to access ftp server over internet

        it works thank you soo much for your help i have tried this before but it didn't work so well...but now it works and i can access my files anywhere and set up wasn't too hard for me this time around thank you mates.


        i used Free DNS
        Attached Files
        Last edited by goontron; 05-22-2013, 07:33 PM.
        Things I've fixed: anything from semis to crappy Chinese $2 radios, and now an IoT Dildo....

        "Dude, this is Wyoming, i hopped on and sent 'er. No fucking around." -- Me

        Excuse me while i do something dangerous


        You must have a sad, sad boring life if you hate on people harmlessly enjoying life with an animal costume.

        Sometimes you need to break shit to fix it.... Thats why my lawnmower doesn't have a deadman switch or engine brake anymore

        Follow the white rabbit.

        Comment

        • mariushm
          Badcaps Legend
          • May 2011
          • 3799

          #5
          Re: how to access ftp server over internet

          No, you don't put 192.168.1.103 to skysftp.uselinux bla bla ... that's the IP from within your network which can't be accessed from outside. It just happens to work because you connected to it from your own network (your home). If you go somewhere else, you won't be able to connect because 192.168.1.xxx is local ip, only present after your router.

          You need to put the IP that you're seen from outside with. If you don't know it, try something like http://www.ping.eu - it should say "Your ip is ##.##.##.##" <-- that's the IP you need to use.

          Also, FTP is a special case when it comes to Internet.
          It was designed a long time ago so it has some quirks... it was designed to work directly on servers connected to internet, not behind routers and internal IPs like the one your router gives you.
          These days, programs work with the internet pretty much by creating a bi-directional connection between computers and talking back and forth. HTTP (websites) work like this: your browser connects to the server, says "give me this page", and the server replies on the same connection saying "ok here's the page" and immediately sends on the same connection the data.
          FTP works a bit differently. The connection created initially, for which you need that forwarding on port 21, is only used by the ftp server to accept commands, it's like a basic chat.
          You can connect to the FTP but you can't actually receive folder listings and files through that connection.
          When you request a file, the FTP server tells your computer through the original connection (the one through port 21) that he has the file and that he waits for you to connect to another port on the remote server to actually get the file. While you copy the file through the other connection, the ftp server accepts more commands from you through the original connection on port 21.

          This is passive mode.. there's another mode called active mode in which your computer tells the server on what port it listens for incoming data and the ftp server is supposed to connect and send data to you. This is problematic again when it comes to computers behind routers, with private IPs (not Internet IPs).

          You can learn more about these two modes here: http://slacksite.com/other/ftp.html

          Basically, the most pain free for you is to use passive mode. You have to configure the ftp server to force passive mode and only use ports from a specific range (let's say 62000-63000) and then tell the router to forward that range, so that any connection to your router's external IP gets passed to the internal ftp server.
          Then, everywhere you want to use FTP, you have to configure the ftp client to use passive mode by default - most clients do or switch to passive mode when the ftp server says it does not allow active mode.

          In Filezilla FTP server, you can set the server from configuration easily : Filezilla server options > Passive mode settings > use custom range [ ] - [ ]

          Comment

          • goontron
            5000!
            • Dec 2011
            • 4108
            • US

            #6
            Re: how to access ftp server over internet

            thanks for catching that mariushm i fixed that it works and i didn't use filezilla i used vsftpd for linux
            any tips for that server?
            Things I've fixed: anything from semis to crappy Chinese $2 radios, and now an IoT Dildo....

            "Dude, this is Wyoming, i hopped on and sent 'er. No fucking around." -- Me

            Excuse me while i do something dangerous


            You must have a sad, sad boring life if you hate on people harmlessly enjoying life with an animal costume.

            Sometimes you need to break shit to fix it.... Thats why my lawnmower doesn't have a deadman switch or engine brake anymore

            Follow the white rabbit.

            Comment

            • mariushm
              Badcaps Legend
              • May 2011
              • 3799

              #7
              Re: how to access ftp server over internet

              No, that's very basic and good ftp server software, I've used it on FreeBSD in the past.

              Comment

              • goontron
                5000!
                • Dec 2011
                • 4108
                • US

                #8
                Re: how to access ftp server over internet

                skysftp.uselinux.us was privet and i got rejected and the new ftp ftp://skysftp.windmillstravel.com/ dosnt work with new ip ether
                Last edited by goontron; 05-22-2013, 09:23 PM.
                Things I've fixed: anything from semis to crappy Chinese $2 radios, and now an IoT Dildo....

                "Dude, this is Wyoming, i hopped on and sent 'er. No fucking around." -- Me

                Excuse me while i do something dangerous


                You must have a sad, sad boring life if you hate on people harmlessly enjoying life with an animal costume.

                Sometimes you need to break shit to fix it.... Thats why my lawnmower doesn't have a deadman switch or engine brake anymore

                Follow the white rabbit.

                Comment

                • goontron
                  5000!
                  • Dec 2011
                  • 4108
                  • US

                  #9
                  Re: how to access ftp server over internet

                  ok it just needed the DNS server to refresh its cache and now it works from my school.
                  so again thank you so much!
                  Things I've fixed: anything from semis to crappy Chinese $2 radios, and now an IoT Dildo....

                  "Dude, this is Wyoming, i hopped on and sent 'er. No fucking around." -- Me

                  Excuse me while i do something dangerous


                  You must have a sad, sad boring life if you hate on people harmlessly enjoying life with an animal costume.

                  Sometimes you need to break shit to fix it.... Thats why my lawnmower doesn't have a deadman switch or engine brake anymore

                  Follow the white rabbit.

                  Comment

                  Related Topics

                  Collapse

                  • double_DD
                    Why does my ISP router hate my "homemade" power supply??
                    by double_DD
                    Hi all,

                    It's gonna be a long intro, so please buckle in, as it's a problem that's been bugging me for several days now. Thanks in advance.

                    So, I have 2 modems/routers, whatever the proper nomenclature is, one from ISP and one mine. I want to power them via USB-C rather then their original mains adapters (for reasons, that are hard to explain to sane people). Both routers come with 12V/3A mains adapters.
                    For this purpose I acquired USB-C charger with 250W and 5 ports, 2 of which can supply max 20V/3A. Since 12V isn't a standard PD voltage option (and to future proof,...
                    07-12-2025, 03:09 AM
                  • omega
                    Troubleshooting of redundant F750E-S0 Dell PowerEdge Server
                    by omega
                    Hello all,
                    as a beginner electronics hobbyist, after a few years I would like to place another post on this Forum section, given that I did not succeed in finding any useful advice among the other posts.

                    Over the last years, I have been using a PowerEdge Dell Server with two redundant PSUs, namely the 750W F750E-S0 ones (aka 06W2PW). Unfortunately, last summer one of them failed (perhaps owing to an overheating), and the server had for working to take into account the other one only. Of course I opened and tried to troubleshoot the failed PSU, but each cap I tested seemed to...
                    02-09-2024, 03:34 PM
                  • Document Archive
                    HP ZBook 15v G5 Mobile server 15v Specification for Upgrade or Repair
                    by Document Archive
                    This specification for the HP ZBook 15v G5 Mobile server can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 15v G5 boardview and 15v G5 schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we offer no warranties that any specification, datasheet, or download for HP ZBook 15v...
                    09-06-2024, 11:39 AM
                  • ratdude747
                    Building a Router Server?
                    by ratdude747
                    3 years ago I was gifted an old Dell R200 1U blade server. I used it as an apartment file server for 2 years, but it's since been, ahem, replaced.

                    I'm thinking of making it into a dedicated router for my network, which would be future proofing for an eventual connection >300mb (which is as much as my Netgear R7000 is good for on DD-WRT). Also, this would free up the eth1 connection on the R7000, which would allow me to team up with eth0 and double the AP's bandwidth to the main gigabit switch. I didn't think I had any HDDs for it (what was in it was moved to the new server as...
                    08-04-2018, 07:31 PM
                  • harp
                    Comparing FreeNAS, FTP server, SMB server, multimedia server...
                    by harp
                    I thinking about some central LAN file server, on where I can put some files from other devices, or access to them, and maybe play some movie without download...

                    I never study this, but when I see that freenas need few gigabyte of ram to recommended working, some wiered partition, I wonder if I miss somewhat in the midletime...
                    Also exist "turnkey file server", and other turnkey products that I can not distinguished what is major difference and how it perform - no experiance at all.

                    What is general difference between this products, and what be most useful...
                    01-04-2024, 02:44 PM
                  • Loading...
                  • No more items.
                  Working...