Site-to-site vpn

Post Reply
tqb
OpenVpn Newbie
Posts: 6
Joined: Fri May 08, 2020 6:36 am

Site-to-site vpn

Post by tqb » Mon May 11, 2020 6:59 am

Just building this: https://openvpn.net/for/site-to-site-vpn/

I must connect two network together. "Home" and "office". Goal must be, not a few than "one network". So, instead 3000 meter long copper cable I want use vpn-tunnel. (Maybe 3000 meter copper cable is possible, but biggest problem is, one railway and one highway break this birdline---)

Now ready:
"home", lan 10.15.0.0/22. Internet hole 4G, dynamic ip.
"office, lan 10.16.0.0./22. Internet hole 4G, dynamic ip.
Both side router is x86-based computer with i7-processor with Openwrt. Two network card, named "WAN" and "LAN". SO, both network are just standard SOHO-network.

Access server is ready and work. Installed cloud, platform named Jelastic. Ubuntu-based. So, my Access Server of the Open VPN is just as link show. Static ip, very fast internet connection etc. I can log in just as must: STATICIPMYACCESSERVER:934, STATICIPMYACCESSERVER:934/admin. Using Jelastic panel I can see my static ip and also "internal lan ip" of the Access Server.

https://openwrt.org/docs/guide-user/ser ... lient-luci
https://openwrt.org/docs/guide-user/net ... in_openvpn
And this openvpn site-to-site-vpn-page.

This is not clear. Ok, I see I can make this "client luci" so I can make my Openwrt-router as client. Also this "routinv_in_openvpn" is not clear; it is my case but not just--- tunnel, but not via internet.

I am quite sure this site-to-site-vpn is now easy. But many settings are not clear... I read and read, and all manuals speak this case "but just not as just it"... Eg. Openvpn page show "how to configure dd-wrt" but it is so much different.

I am very sure this system will be simply, but somethink I does not understand. And, it make barrier between me and solve. So: Access server running now and I have static ip etc. Router is openwrt so it support openvpn. But... all what I find from internet is "much text, few information". Now I really see... I spent many days "how to build openwrt router". Hardest and longest way, I use x86-based computer. And, I understand it quite well. Also I build access server, even using Jelastic-- also it it not easiest way. But now I see barrier...

tqb
OpenVpn Newbie
Posts: 6
Joined: Fri May 08, 2020 6:36 am

Re: Site-to-site vpn

Post by tqb » Mon May 11, 2020 9:33 am

More information...
https://openvpn.net/community-resources ... -bridging/
"server configuration file"...

Looks I must make somethn
a) port opening,
b) testing
c) edit conf files...

https://openvpn.net/community-resources ... nnectivity
Okay: ", it’s best to initially start the OpenVPN server from the command line "
What is this "server config file" shown in this page? I cannot find any "server.conf" or this type files. So, this information page ask test. Okay, somethn work reason I can log in to access server using web browser. Also I can use command line. But: this page say "start up looks this". Reason configuration file is unknown and cannot find, unpossible make this startup and unpossible see what is show.

So, reason I want connect two private LAN as one I must use "bridge". Is it any better information as this page? Look all testing is impossible reason no any server configuration file.

OR!!?? Is it any better way? Eg. using Access Server webpage and make ALL using it? Maybe not?

Post Reply