CentOS as a Network bridge over WAN

Associate
Joined
1 Aug 2003
Posts
1,053
If I have two seperate LAN networks, both with static IP WAN addresses, is it possible to setup a CentOS server as a way of bridging the two networks?

I remember reading somewhere that this was possible and the two servers would even compress the data being sent between eachother to increase speed of interchange. The two networks would effectively become different segments of the 'same' network.

Any documentation on this (or telling me that I dreamt the whole thing) would be appreciated.

Thanks

p.s. The other thing that I'm trying to find is a way to have a compressed partition. I'm trying to set up a live archive of data but it doesn't need fast access and wont be accessed very often so I wondered whether something like that was possible too. It is with other distributions but I'm new to CentOS.....
 
Thanks for the responses, but I think I may have been a little unclear as to what I meant. When I said the two networks were separate I mean they are physically distant from eachother with only the internet to connect them. All the google hits I've come across are to do with ethernet setups not the ethernet bridging via WAN that I'm after.

Thanks, sorry for being unclear.

Just looked at the link to XORP - I'm sure their software is great but the description reads like a broschure rather than an accurate description. I was left thinking 'wow, that sounds great! I wonder what it actually does....?'
 
Last edited:
From what you've said you want a VPN between the two networks? That is, they both behave like there on the same network, with any traffic between the two LANs being tunnelled over the internet.

Google OpenVPN - though someone may be able to advise on its suitability. What I mean by that is that something like tinc could be more suitable for a point-to-point VPN (rather than a LAN-to-client setup, which is what we use OpenVPN for).

Google beginners guide openvpn and beginners guide tinc - one of the two will be what you need :)
 
Exactly, I've been trying to use vtun with no success (took it down to following basic instructions to the letter which didn't work so think there may be something wrong with my system setup rather than the vtun config files).

The idea is for the servers to act as gateways and bridge the two networks with a VPN style connection. The reason why I liked the look of vtun was that it seemed to offer fairly good compression and would let me use SSH encryption.

I'll look at the ones you've suggested and where that gets me.

Ta!

*edit: Just checked tinc - seems to be pretty much the same deal as vtun, I'll let you know how I get on. The documentation is much more overt and readily available so I think we have a winner!
 
Last edited:
Back
Top Bottom