I have 2 sites with public IP addresses. I want to share resources with each other. What’s the best and secure configurations to use please.
You can connect them using L2tp tunnel. Set one side as a l2tp server and the other side as a client .
Thanks for your response. It’s an organization with two branch offices. we have 20 computers in each branch and a server running accounting application. We also want a situation that each user will be able to copy files from another user system as in the case of a LAN within the two branches. We also have a cctv camera which DVR is on the network also can be viewed by MD or IT admin from any locations. Will L2TP or L2TP over IPSEC. Though the users will be limited from browsing the internet except some key management staff. Please advice.
Look at EOIP: https://wiki.mikrotik.com/wiki/Manual:Interface/EoIP
You make IPSec or any tunnel and treat it as cable. You merge two LANs as one so none could even know that “neighbour” or server is miles away. Network is connected on L2 level.
Eoip is awesome. But you have to make sure that the two dhcps are not interfering. Its like you patch a real cable between the two networks. That could cause quite some trouble. L2tp would prevent you from having that problem, but younwould need to know the ips on the other network, and the private ip range should differ as well