try http://www.doerr.biz/sme/openvpn-Site2Site.htm
Bob
Hi, bob
I have read the how to from
http://www.doerr.biz/sme/openvpn-Site2Site.htmbut, once question .. on : what is mean on the yellow mark bellow :
• We have two seperate networks that are connected over the internet. We will call one sme7 server "client" and the other "server". This is true and not:-)?
Considering openvpn they are equals, not really server/client/ But considering tls (ssl), the protocol that secures the VPN by encryption and authentication via certificates, "server" is the server and client the client.
• Sme7 client is at 213.22.22.2. Sme7 server is at 213.11.11.1
• The openvpn tunnel we will set up has an internal ip-addres on server: 10.1.1.1
The openvpn tunnel we will set up has an internal ip-addres on client: 10.1.1.2
• Behind the sme7-server the internal network is
10.12.12.0. Server has
192.11.11.1.
Behind the sme7-client the internal network is
10.22.22.0. Server has
192.22.22.2.
Let assume, when i have internal client with IP 192.168.0.0/24 on server side, it's mean i have to change the 192.11.11.1 with 192.168.0.1
and on the client side VPN i have 192.168.10.0/24 internal client, it's mean the 192.22.22.2 become 192.168.10.2
And : what is mean :
For the route above to stick between events on the sme7 machine you will need to add the VPN address range on the other side of the tunnel as a local networks in the server-manager (
https://yoursme7server/server-manager, login as admin)under the Security section. Add a local network "
192.22.22.0" with gateway "
192.1.1.1" also add a local network "
10.1.1.0" with gateway "
192.1.1.1"
cause I got these error when trying to make route :
Operation status report
Error: router address is not accessible from local network. Did not add network.
Regards,
darmasanthi