running ftp server

  1. #1

    running ftp server

    I was trying to run an ftp server (using war-ftpd) from my computer, and i got everything set up, but when i start the server - its output address is 192.168.1.101 I tried another server program, and same thing

    I know my ip address, and it is 67.163.21.XXX, and those are obviously not the same. I think the 192.168 is the network address, for only computers on my network.

    Anyways I have a home network that I dont need - I would rather have this ftp server.

    My modem goes to a 4 port router/switch, and then goes to two computers.

    Would the best thing to disable the Home Network? How would I do that? Is that even the best option

    Thanks (you guys should open a linux forum)


  2. #2
    Rainbow32 is offline Junior Member
    What's the make and model of your router? It will give a starting point to research the problem.

  3. #3
    DJNafey is offline UK site moderator
    You are correct in thinking that your 192.x.x.x address is a non-routeable internal address only for your home network.

    I'm presuming that your home network is on a workgroup rather than a domain? If it's on a domain, maybe switching to different workgroups would help the PCs not see each other, thus removing your home network?

    Not really my specialist subject I'm afraid ..... but I would have thought that you'd need your PCs both networked together in order to be able to use the modem through the router?

    Anyone else out there know a bit more about this stuff?

  4. #4
    steve is offline Junior Member
    Save 20% on AVG Internet Security 2012 Suite!
    Your modem will have a public internet address (assume it is this 67.163.21.x address) and everything connected to the router with this 192.168.1.x is a private ip address. The problem there is that your modem &/or router will be doing some sort of network/port address translation so that anything trying to connect in on the public address will not know which private ip address it is meant to be going to (which in most cases is a good thing as it blocks out any unwanted attackers).

    To get around this you will either need to give your PC with the ftp server a public ip address if you have more than 1 public ip address which I wouldn't recommend (as it would then open up the PC to everyone on the internet). Or the better option is to try to setup some kind of address mapping on the modem or the router. If your modem or router support this then it will be done either through a command line interface or a web gui and will be called something along the lines of Virtual IP Mapping, Mapped IP addressing, Port Forwarding etc.

    For example you will say any traffic coming in on port 21 (ftp) for the ip address 67.163.21.x goes straight to your ftp server ip address of 192.168.1.101.

    As someone asked above it would be useful to know a bit more about your setup first such as modem & router make/model and whether you are on a static ip or dynamic.

+ Reply to Thread