help with telnet and ftp from outside

There are 5 replies in this Thread which was already clicked 809 times. The last Post () by stevejo.

  • Hi,


    I have a ubuntu server and would like to telnet and ftp from outside my local network.
    The port forwarding is no problem, but i cannot access my server.
    Do i have to configure something on the server?
    firewall??

  • Once you forward FTP (21) & telnet (22) ports to your server IP, you should be able to FTP in no problem.


    You might have to enable FTP in your router also..


    Never open port 21 or 22 directly or you will have some Chinese or Russian dude in setting up shop on your router
    If you have a few devices that you want to be able to access FTP & telnet on i.e. Server & Set top Box's



    You can setup like this in your router::


    [table='width: 800, class: grid, align: left']

    [tr]


    [td]

    Protocol TCP/UDP

    [/td]


    [td]

    External Ports

    [/td]


    [td]

    Internal Ports

    [/td]


    [td]

    Internal IP Address

    [/td]


    [td]

    Label

    [/td]


    [/tr]


    [tr]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    TCP

    [/td]


    [td]

    10021

    [/td]


    [td]

    21

    [/td]


    [td]

    192.168.1.100

    [/td]


    [td]

    PC Server FTP

    [/td]


    [/tr]


    [tr]


    [td]

    TCP

    [/td]


    [td]

    10022

    [/td]


    [td]

    22

    [/td]


    [td]

    192.168.1.100

    [/td]


    [td]

    PC Server Telnet

    [/td]


    [/tr]


    [tr]


    [td]

    TCP

    [/td]


    [td]

    20021

    [/td]


    [td]

    21

    [/td]


    [td]

    192.168.1.110

    [/td]


    [td]

    Dreambox FTP

    [/td]


    [/tr]


    [tr]


    [td]

    TCP

    [/td]


    [td]

    20022

    [/td]


    [td]

    22

    [/td]


    [td]

    192.168.1.110

    [/td]


    [td]

    Dreambox Telnet

    [/td]


    [/tr]


    [/table]


    NOTE: Even these external ports might be a bit obvious, so make them something more random if you wish


    Also, enabling FTP/Telnet access to your home network is a ri$ky business. Make sure to have Firewall etc. configures




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

  • the protforwarding in my router is ok. Cause i used the same setting for my server (DM500HD) and it worked ok. Now i only changed the ip address for the new server. So i think the router in not the problem.
    Do i have to change something in my ubuntu server?

  • If you have done it for your DM500, maybe port 21 & 22 are already in use on your router for that port forward. That's why I suggest above method..
    And no, you don't need to do anything else with ubuntu as long as you set it up with openssh-client & openssh-server.


    Try using port 22 for both putty (SSH Connection Type) & WinSCP (SFTP Connection Type)




    All your problems have been solved countless times before so try the search box before you post!!
    Please do not Request help by PM, use the main forum so Everyone can benefit from the answers.

  • Once you forward FTP (21) & telnet (22) ports to your server IP, you should be able to FTP in no problem.


    You might have to enable FTP in your router also..


    Never open port 21 or 22 directly or you will have some Chinese or Russian dude in setting up shop on your router
    If you have a few devices that you want to be able to access FTP & telnet on i.e. Server & Set top Box's


    any idea how to link internal and external ports on an eircom netopia router?

Your resource for Linux TV servers and smart card readers.

Find software downloads, drivers, and support for server setup and card-sharing configurations. Set up a Linux-based TV server. Access downloads and support for server software and USB card readers for advanced TV reception and management

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!