[CentOS] bridge connection and two linux servers

Mon Apr 16 15:16:08 UTC 2012
Ken godee <ken at perfect-image.com>


On 4/16/2012 8:04 AM, Arif Hossain wrote:
> I need to set up following network architecture :
>
>
>                             Internet
>                              ^
>      +-----------------+     |          +------------------+
>      |  Centos6-1      |     |          |      Centos6-2   |
>      |      +---- eth0 + ----+          |                  |
>      | (br0)|          |                |                  |
>      |      +---- eth1 +----------------+ eth0             |
>      +-----------------+                +------------------+
>                           ( cable connection )
>
>
> Two public IP's are to be configured like follows :
>
> + **eth0** and **eth1** of **Centos6-1 are to be configured as a bridge
> with IP1
> - **Centos6-1** can be accessed with IP1
> - **eth0** of **Centos6-2** is configured with IP2
> - any request destined to IP2 will flow through **Centos6-1**
>
> How can i accomplish this feat?

Not sure if I'm understanding this....

You're trying to present a service running on box 2 to the internet
through box 1's public interface? (securely)

If so I might have a look at this software....

http://www.delegate.org/delegate/

You'll be able to create a reverse proxy on box 1 to box 2 or
any services running on your internal network, etc.