Multiple site connection problem

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
athensy
OpenVpn Newbie
Posts: 2
Joined: Thu Dec 02, 2010 3:16 pm

Multiple site connection problem

Post by athensy » Thu Dec 02, 2010 3:25 pm

Hi guru,

I would like to build point-to-point VPN to multiple sites as follows:

Site A (10.1.0.1) --------> Site B (10.1.0.2)
|
+-- (12.1.0.1) --------> Site C (12.1.0.2)

I could connect Site A to Site B or Site A to Site C individually. However, I can't make it work as Site A to Site B and Site C together. All of the sites are Microsoft Windows 2003 servers. Please give me any hint to tackle this problem. Note: It has just one LAN card on Site A.

Thanks in advance

Athens

Psilo
OpenVpn Newbie
Posts: 4
Joined: Fri Dec 03, 2010 5:53 pm

Re: Multiple site connection problem

Post by Psilo » Fri Dec 03, 2010 6:15 pm

You need to install two TAP virtual ethernet adapters.

athensy
OpenVpn Newbie
Posts: 2
Joined: Thu Dec 02, 2010 3:16 pm

Re: Multiple site connection problem

Post by athensy » Sat Dec 04, 2010 1:44 am

Hi Psilo,

I have added another TAP virtual ethernet adapter, but I don't know it's name for the configuration file. i.e. For the first TAP adapter, I use "dev tap" to refer it on the configuration file, how about the name of the second TAP adapter?

If you could show me a simple example of the configuration file for Site A, that would be great for me.

Thanks for your help.

Athens

Sky
OpenVpn Newbie
Posts: 10
Joined: Tue Dec 07, 2010 9:54 pm

Re: Multiple site connection problem

Post by Sky » Wed Dec 08, 2010 6:30 pm

athensy

Are you on windows? If so you just need to look at the adapter in the Network Connections screen. In Windows 7 you get there by right-clicking on Network -> Properties then click "Change adapter settings". Once you are looking at the adapters, they should have default names of something like "Local Area Connection n" where n is some number starting at 2 when you have more than 1 adapter.

Now I don't know the reason why or if it even is important, but I've seen in at least 2 places in the documentation that when you are referring to the adapter it is best to change the name to something that does not include spaces. Something like "tap-adapter". I'm guessing you can't have spaces in the config file. Right click -> Rename to change the name.

If you're on anything other than Windows then I can't help, but I imagine you'd do the same as the above, only OS specific. Linux ought to have it's own "Network Connections" screen or equivalent.

Post Reply