Skip to contentSkip to conversation

site to site vpn

Openvpn-devel David Sommerseth 1 participant 1 message Sep 18, 2012 3 messages not in the archive

lore
Share & tools
lore
#3 lore raw
In reply to a message not in the archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · C.I.G IT SUPPORT

Hello David,

Hi,

First of all, support goes in the public. No private posting, otherwise other people can't learn and it looks like nobody gets help on the mailing list.

Quoted 1 line

What does it mean ?

It means: read the documentation

Quoted 10 lines

Listen dude, I'll explain you more about my Network infrastructure..

Server side: LAN ---> ISA Server----> router----> WAN. LAN:
192.168.0.x ISA: internal NIC 192.168.0.8, External NIC 192.168.2.50 Router: 192.168.2.100

Client Side: LAN ---> ISA Server----> router----> WAN. LAN:
192.168.0.x ISA: internal NIC 192.168.0.7, External NIC 192.168.1.250 Router: 192.168.1.100

I presume you have the OpenVPN client and servers on the LAN side, as you didn't say anything else. The client or server side LAN needs to change IP addresses to a separate segment. F.ex. client side to become 192.168.10.0/24 ... this is to avoid routing issues later on.

Then configure a OpenVPN client/server setup, with a a separate segment (say, 10.8.0.0/24) ... and then you add routes for 192.168.0.0/24 and 192.168.100.0/24 in the OpenVPN configs. And that's it.

Quoted 2 lines

Please refer to me if am doing anything wrong.. am able to connect client to server but not Network to Network.

You most likely are missing proper routes, network segment conflicts (192.168.0.0/24 on both client and server side LAN), firewalling issues on the OpenVPN servers (not allowing traffic to be forwarded between LAN and VPN) or that IP forwarding in general haven't been enabled (in Linux or BSD: sysctl net.ipv4._ip_forward).

You might also find this info relevant:

<https://community.openvpn.net/openvpn/wiki/BridgingAndRouting#Usingrouting>

kind regards,

David Sommerseth

Quoted 16 lines

-----Original Message----- From: David Sommerseth [mailto:[email protected]...] Sent: Tuesday, September 18, 2012 3:30 PM To: C.I.G IT SUPPORT Cc:
[email protected] Subject: Re: [Openvpn-users] site to site vpn

Quoted 5 lines · C.I.G IT SUPPORT

Hello Everybody,

Can anybody assist me to create a site to site ovpn..

You got a pretty good starting point when you asked last time:

Quoted 10 lines

<http://thread.gmane.org/gmane.network.openvpn.user/33533>

It's pretty much the same approach. Other than that, learning how to configure OpenVPN will pretty much save you a lot of time later on. Start here:

<http://openvpn.net/index.php/open-source/documentation/miscellaneous/static

- -key-mini-howto.html>

Quoted 18 lines

And then continue here to add PKI (SSL certificates)

<http://openvpn.net/index.php/open-source/documentation/howto.html#pki>

And read the man page, which is also available here:

<http://openvpn.net/index.php/open-source/documentation/manuals/>

It describes quite well most of the options you need to set up a site-to-site tunnel.

Other than that ... try to make use of TUN devices (not TAP) and UDP for transport, that will give you the best performance on the tunnel.

Quoted 5 lines

kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBYb3YACgkQDC186MBRfrruvQCfaK+fUKzsprtQJzKNcPDgh8Ih vBgAoIV7m4JePrHTauAMhlUMp+R+HDnJ
=dNT+
-----END PGP SIGNATURE-----