Comment on page
MikroTik
This guide will show you how to connect your MikroTik device to the GoodAccess Gateway via a site-to-site connection using the IPsec protocol.
Click + Add new, enter the Branch name and subnet, and select Gateway.
Choose IKEv2 Protocol, and click Save.
Click the Edit button of your Branch, and navigate to the Configuration Guide.
Save your Credentials and Download setup files.
You may return to the configuration via the Edit button of your Branch at any time.
Download a script for MikroTik:
Log in to your MikroTik device, and go to Files.

Uploading the script and setup files
Go to Terminal and run the following script:
/import ga-setup-branch.rsc
- VPN username
- VPN password
- Gateway address
- Gateway subnet
- What is your local network - Cloud/Branch subnet
- What is CA certificate name - Name of the CA Certificate file stored in your MikroTik files

Setting up the site-to-site connection
Connection is established when the message "Script file loaded and executed successfully" appears.
You have now successfully connected your device to GoodAccess.
You may check the status of the connection in:
- GoodAccess - Control Panel > Clouds & Branches > Edit button > Test connection
- MikroTik - IP > IPSec > Policies and Active Peers
Last modified 2mo ago