Green medicine and stomach aches

When I was a kid, I would get the occassional stomach ache. My mom would rub this green ointment on my stomach and I would feel better within the hour (usually half hour). It was oily and it smelled funny, almost nauseating. I haven’t smelled it in years and my parents moved, so I have no idea where this bottle is currently. Also, my parents are in Europe right now and I don’t have an easy way to contact them. IIRC, it smelled of old sambuca, a hint of vicks vapor rub, and something else entirely that made me feel a bit nauseated and dizzy. It was also oily and…well…green. Anyone know what this stuff is and why/how it works?