Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a gateway system, which hides 3 other computers from the outside world. I wish to setup a FTP server such that when I access the FTP server ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    5

    FTP Setup


    Hi,

    I have a gateway system, which hides 3 other computers from the outside world. I wish to setup a FTP server such that when I access the FTP server on the gateway, I reach one of the inner hidden systems, i.e., if I ftp to 199.99.99.99, I automatically see the 192.168.1.2 ftp directory, where 192.168.1.2 is the local system. Also, can this be done for HTTP servers also? I get to see the web directory of the inner system?

    Thanks,
    Sumit

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    What you do is have the gateway forward the ports to the internal machines. Anyone accessing the FTP/HTTP/anything else servers think that they are accessing the gateway machine, but it's just forwarding the connection to an interior machine. You can use iptables to do this. Check out http://www.netfilter.org for all that you need to know about setting up iptables.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •