Need help special proxy/port forwarding setup

Discussion in 'Server Operation' started by karon, Jan 30, 2012.

  1. karon

    karon New Member

    I have a special task to complete: I need to configure a Linux cloud server to act as a proxy for another server halfway around the world.

    Basically, this Linux will have a public IP address 1.2.3.4 and will listen on port 1000. If a client establishes a connection with it, it should forward all traffic to another server 2.3.4.5 port 1000, also on the public internet.

    Questions:
    - I'm not sure if this is a NAT or route relationship?
    - Do I need 2 eth interfaces for this?
    - Do I need 2 IP addresses for this, or can it be done with one?
    - Can I setup this forwarding with iptables or route alone, or do I need a specialized proxy software?
     
    Last edited: Jan 30, 2012

Share This Page