Hello All!
I have a little problem with (planning as for now) site-to-site VPN between two mikrotik devices. But short story first:
I'm running a small company that produces small CRM-like apps. To be honest the first one is actually getting developed and I have no customers yet At the very begining - the whole company existed on my laptop + my desktop computer that was used as code repo (svn). In a few last months - the company grew a little more, so I decided to prepare for future growing. I've end up with my desktop pc running Windows Hyper-V Server with few VM's that hosts domain controller, Exchange server, SVN, build server etc. I have few developers around the world that are working on code and commits it to my SVN. Almost brilliant (low-cost), but some performance issues started to occur more and more often and I'm starting to run out of hard drive space.
Because of above I ended with three HP Rack servers that will host the VM's. Of course - rack servers are way to loud to keep them at home (plus cooling issues), so I decided to move them to public datacenter. The only problem I get is that the switching a location should be as painless as it can be, so I want not to change anything in the addresses configuration. So the plan came up:
- my home MikroTik router (with 5 IP addresses assigned) has a VPN server set-up,
- my remote servers are connected to remote MikroTik device (RB750 gen. 1) which has a public IP address provided by datacenter but it's connected via VPN to my home router and ALL the traffic is directed via the tunnel, so the devices are visible as they were at my home (no changes to DNS needed, no reverse DNS problems).
At this moment i have 5 public IP addresses, let's say: 1.2.3.1-1.2.3.5. My private network has subnet 10.0.10.0/24. MikroTik is 10.0.10.1. first address is directed to my main WWW server and tools (Jenkins, Test-environment). The second is my VPN server on my Mikrotik, the third is handling mailflow to/from Exchange. The fourth is my public IP that all outgoing traffic from company uses and the fifth is a public address of my home (private) network.
At this moment - my desktop is 10.0.10.4, and VM's are .6, .8, .9, .10.
What I would like to achieve is to move the VM's to the datacenter but to keep their addresses with the same subnet as local, so the only thing that I'll have to modify is to route the traffic to those specific addresses via VPN tunnel.
Is it possible to create a configuration like this?
Thank you in advance and best regards!
Tom