{"id":229,"date":"2025-08-25T19:11:10","date_gmt":"2025-08-25T17:11:10","guid":{"rendered":"https:\/\/www.genexio.net\/blog\/?p=229"},"modified":"2025-08-25T19:11:10","modified_gmt":"2025-08-25T17:11:10","slug":"integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/","title":{"rendered":"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Recently, I had a practical need: <strong>to write data into FileMaker directly from Node-RED<\/strong>, which I run on a Raspberry Pi at home. FileMaker is on my company network, so I needed a <em>secure and stable<\/em> link between the two environments. The answer was <strong>OpenVPN<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Starting point<\/h4>\n\n\n\n<p>In my infrastructure, the company firewall already had an <strong>OpenVPN server<\/strong> configured. From the <strong>NethSecurity<\/strong> platform, I created a user with login credentials and downloaded the related <code>.ovpn<\/code> configuration (with certificates). That file, once copied to the Raspberry Pi, was all I needed for the client setup.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Install &amp; configure on Raspberry Pi<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install openvpn\n<\/code><\/pre>\n\n\n\n<p>Then I placed the <code>.ovpn<\/code> file and the credential file <code>auth.txt<\/code> in <code>\/etc\/openvpn\/client\/<\/code>. I protected <code>auth.txt<\/code> and referenced it inside the <code>.ovpn<\/code> configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo chmod 600 \/etc\/openvpn\/client\/auth.txt\n<\/code><\/pre>\n\n\n\n<p>Finally, I enabled and started the client so the VPN always comes up at boot:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable openvpn-client@client.service\nsudo systemctl start openvpn-client@client.service\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Automatic monitoring (every 5 minutes)<\/h4>\n\n\n\n<p>To guarantee reliability, I added a simple watchdog that checks if the VPN interface is up and restarts it if needed.<\/p>\n\n\n\n<p><strong>Script<\/strong> <code>\/usr\/local\/bin\/check_vpn.sh<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\n# Simple VPN watchdog for OpenVPN client\nif ! ip a | grep -q \"tun0\"; then\n  echo \"$(date): VPN down, restarting...\" &amp;gt;&amp;gt; \/var\/log\/vpn_monitor.log\n  systemctl restart openvpn-client@client.service\nfi\n<\/code><\/pre>\n\n\n\n<p>Make it executable and run it every 5 minutes via cron:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo chmod +x \/usr\/local\/bin\/check_vpn.sh\n(crontab -l; echo \"*\/5 * * * * \/usr\/local\/bin\/check_vpn.sh\") | crontab -\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Integration tests with FileMaker<\/h4>\n\n\n\n<p>After the VPN tunnel was established, I tested the connection using Node-RED and the <strong>node-red-contrib-filemaker<\/strong> package. These nodes make it easy to send API requests to FileMaker from Node-RED flows.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Test 1: List available databases<\/h4>\n\n\n\n<p>I used the node <code>fm-list-databases<\/code> to query the FileMaker Server. The flow was very simple:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>inject<\/code> node \u2013 to trigger the request<\/li>\n\n\n\n<li><code>fm-list-databases<\/code> node \u2013 configured with FileMaker server address and credentials<\/li>\n\n\n\n<li><code>debug<\/code> node \u2013 to view the JSON response<\/li>\n<\/ul>\n\n\n\n<p>The result was a JSON array with all accessible databases, for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"databases\": &#91;\n    \"timbrature\",\n    \"utenti\",\n    \"schede\",\n    \"test\"\n  ]\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Test 2: List tables of a specific database<\/h4>\n\n\n\n<p>Then I used the node <code>fm-list-layouts<\/code> to check which layouts (tables) were available in a chosen database, e.g. <code>timbrature<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>inject<\/code> node \u2013 with payload = &#8220;timbrature&#8221;<\/li>\n\n\n\n<li><code>fm-list-layouts<\/code> node \u2013 connected to FileMaker server<\/li>\n\n\n\n<li><code>debug<\/code> node \u2013 to show the output<\/li>\n<\/ul>\n\n\n\n<p>The result showed the list of layouts (tables) in the database:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"layouts\": &#91;\n    \"timbrature\",\n    \"utenti\",\n    \"schede\"\n  ]\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Next step<\/h4>\n\n\n\n<p>With these nodes, I confirmed that Node-RED was able to connect, authenticate, and read from FileMaker via the Data API. The next step will be to use the <code>fm-create-record<\/code> node to insert new records directly from Node-RED flows.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Future applications<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Build a <strong>Node-RED platform<\/strong> for my home automation control.<\/li>\n\n\n\n<li>Use FileMaker as a <strong>central log repository<\/strong> for home events.<\/li>\n\n\n\n<li>Extend later to analytics and dashboards.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Conclusion<\/h4>\n\n\n\n<p>This setup gives me a <strong>secure, stable, and self-monitoring connection<\/strong> between my home Raspberry Pi and the corporate FileMaker. With OpenVPN and Node-RED (plus <code>node-red-contrib-filemaker<\/code>), I can manage and exchange data without extra FileMaker Pro seats, while keeping flexibility, security, and service continuity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I had a practical need: to write data into FileMaker directly from Node-RED, which I run on a Raspberry Pi at home. FileMaker is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,15,11],"tags":[],"class_list":["post-229","post","type-post","status-publish","format-standard","hentry","category-filemaker","category-node-red","category-raspberry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi - My blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi - My blog\" \/>\n<meta property=\"og:description\" content=\"Recently, I had a practical need: to write data into FileMaker directly from Node-RED, which I run on a Raspberry Pi at home. FileMaker is [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\" \/>\n<meta property=\"og:site_name\" content=\"My blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-25T17:11:10+00:00\" \/>\n<meta name=\"author\" content=\"genexio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"genexio\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\"},\"author\":{\"name\":\"genexio\",\"@id\":\"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a\"},\"headline\":\"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi\",\"datePublished\":\"2025-08-25T17:11:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\"},\"wordCount\":419,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a\"},\"articleSection\":[\"filemaker\",\"node-red\",\"raspberry\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\",\"url\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\",\"name\":\"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi - My blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.genexio.net\/blog\/#website\"},\"datePublished\":\"2025-08-25T17:11:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.genexio.net\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.genexio.net\/blog\/#website\",\"url\":\"https:\/\/www.genexio.net\/blog\/\",\"name\":\"My blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.genexio.net\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a\",\"name\":\"genexio\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g\",\"caption\":\"genexio\"},\"logo\":{\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g\"},\"sameAs\":[\"http:\/\/www.genexio.net\/blog\"],\"url\":\"https:\/\/www.genexio.net\/blog\/author\/genexio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi - My blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/","og_locale":"en_GB","og_type":"article","og_title":"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi - My blog","og_description":"Recently, I had a practical need: to write data into FileMaker directly from Node-RED, which I run on a Raspberry Pi at home. FileMaker is [&hellip;]","og_url":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/","og_site_name":"My blog","article_published_time":"2025-08-25T17:11:10+00:00","author":"genexio","twitter_card":"summary_large_image","twitter_misc":{"Written by":"genexio","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#article","isPartOf":{"@id":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/"},"author":{"name":"genexio","@id":"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a"},"headline":"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi","datePublished":"2025-08-25T17:11:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/"},"wordCount":419,"commentCount":0,"publisher":{"@id":"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a"},"articleSection":["filemaker","node-red","raspberry"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/","url":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/","name":"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi - My blog","isPartOf":{"@id":"https:\/\/www.genexio.net\/blog\/#website"},"datePublished":"2025-08-25T17:11:10+00:00","breadcrumb":{"@id":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.genexio.net\/blog\/2025\/08\/25\/integrating-node-red-with-filemaker-via-openvpn-on-raspberry-pi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.genexio.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Integrating Node-RED with FileMaker via OpenVPN on Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/www.genexio.net\/blog\/#website","url":"https:\/\/www.genexio.net\/blog\/","name":"My blog","description":"","publisher":{"@id":"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.genexio.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.genexio.net\/blog\/#\/schema\/person\/e293425f2302a3a32a049864bf8cd02a","name":"genexio","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g","caption":"genexio"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/7eda1948b0cb52048b0ce1e60c0e9be821f2ad85632d822bd60187a9793428a6?s=96&d=mm&r=g"},"sameAs":["http:\/\/www.genexio.net\/blog"],"url":"https:\/\/www.genexio.net\/blog\/author\/genexio\/"}]}},"_links":{"self":[{"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/posts\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":1,"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/posts\/229\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.genexio.net\/blog\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}