Connecting Asterisk to FreePBX using IAX2

I have a PIAF (freePBX) VM running on my PC. And a Asterisk Asterisk/ on my NAS Synology server. i would like to connect these two boxes using IAX2.

i have connected two FreePBX boxes using IAX2 in the past, but can not do this with Asterisk.

has anyone managed to connect these two systems using IAX2? btw the digium asterisk gui interface seems to be quite limited. im not sure if i can change all settings in the gui!

I’m trying to do the same, with no luck.
have you succeeded?
thanks and regards.