pulling API sentences instead of pushing

I have been recently introduced to Mikrotik and have been enjoying learning it to the fullest.

I am looking at this API script mentioned at http://wiki.mikrotik.com/wiki/Manual:API.

The API server is initiating the TCP connection and pushing the config. Is there any way which can allow the microtik router to download the config via API ?

Basically I want to use the API feature but also want to address scenarios when the router is NATed or behind a firewall and it is not possible to initiate TCP connection from outside to router.

Can we make this work with the use of any scripts ?

Open a tunnel from your NAT’ed device, and use the tunnel IP to connect back with API :slight_smile:

Thanks
This is exactly what I did.
Made an IPSEC VPN tunnel from Mikrotik to VPN server.
Made a loopback address.
I’ll be now sending API to this loopback address.

Mikrotik is amazing :smiley: