Network Topology:
Configuration Steps:
Router 1 (Site A) configuration:
Step 1: Access Mikrotik Router and log in to the Mikrotik router
Step 2: Create WireGuard Interface
Go to Interfaces > Add New > WireGuard
Configure the following: Name, Listen Port, private and public keys will be generated automatically.
3. Click Apply and OK.
Step 3: Set IP Address for WireGuard Interface
Step 4: Add WireGuard Peer
Step 5: Configure Routes
Step 6: Add a NAT Rule
Router 2 (Site B) configuration:
Step 1: Access Mikrotik Router log in to the Mikrotik router
Step 2: Create WireGuard Interface
Go to Interfaces > Add New > WireGuard
Configure the following: Name, Listen Port, private and public keys will be generated automatically
^
3. Click Apply and OK.
Step 3: Set IP Address for WireGuard Interface
Step 4: Add WireGuard Peer
Step 5: Configure Routes
Step 6: Add a NAT Rule
PING TEST
Go to Tools> Ping
Pinging test from router A to router's B VPC:
Pinging test from router B to router's A VPC: