<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by PSAUX IT on Medium]]></title>
        <description><![CDATA[Stories by PSAUX IT on Medium]]></description>
        <link>https://medium.com/@psauxit?source=rss-9696a34c663f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XgH5hni1puM2RXlfpb50kw.png</url>
            <title>Stories by PSAUX IT on Medium</title>
            <link>https://medium.com/@psauxit?source=rss-9696a34c663f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 10:43:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@psauxit/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Enhancing WordPress Performance with Nginx FastCGI Cache Purge & Preload Plugin (NPP)]]></title>
            <link>https://medium.com/@psauxit/enhancing-wordpress-performance-with-nginx-fastcgi-cache-purge-preload-plugin-npp-d536df779085?source=rss-9696a34c663f------2</link>
            <guid isPermaLink="false">https://medium.com/p/d536df779085</guid>
            <category><![CDATA[cms]]></category>
            <category><![CDATA[wordpress-plugins]]></category>
            <category><![CDATA[caching]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[PSAUX IT]]></dc:creator>
            <pubDate>Mon, 03 Jun 2024 20:34:13 GMT</pubDate>
            <atom:updated>2024-06-03T20:39:33.186Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*R3F2mwnh0JPguzMrZ1LCSg.png" /></figure><h3>Introduction</h3><p><a href="https://github.com/psaux-it/nginx-fastcgi-cache-purge-and-preload">The Nginx FastCGI Cache Purge &amp; Preload Plugin (NPP)</a> for WordPress is designed to streamline and optimize cache management, significantly boosting website performance. By automating cache purging and preloading, it ensures that your website remains fast and responsive, even under high traffic conditions.</p><h3>Key Features</h3><h3>FastCGI Cache Purge and Preload</h3><ul><li><strong>Cache Purge</strong>: Automatically purges outdated cache to keep your content fresh.</li><li><strong>Cache Preload</strong>: Preloads critical pages to reduce load times.</li><li><strong>Auto Preload</strong>: Automatically preloads content after each purge.</li></ul><h3>Scheduled Purge &amp; Preload</h3><ul><li>Automates cache management tasks with cron-like scheduling, ensuring consistent performance.</li></ul><h3>Granular Control</h3><ul><li><strong>Manual Page Purge &amp; Preload</strong>: Allows selective cache management for specific pages.</li><li><strong>On-Page Purge and Preload</strong>: Directly manage cache from the frontend.</li></ul><h3>Advanced Features</h3><ul><li><strong>REST API Support</strong>: Facilitates integration with existing workflows.</li><li><strong>Advanced Status Metrics</strong>: Provides detailed performance insights.</li><li><strong>Admin Notices</strong>: Alerts for setup issues and optimization tips.</li><li><strong>E-Mail Notifications</strong>: Keeps you informed about cache management activities.</li></ul><h3>Design and Usability</h3><ul><li><strong>Lightweight Code</strong>: Efficiently operates without bloating your site.</li><li><strong>Mobile-Friendly Design</strong>: Responsive interface for on-the-go cache management.</li></ul><h3>Technical Background</h3><h3>FastCGI Cache and Nginx</h3><p>FastCGI Cache stores dynamic content generated by PHP scripts, improving page load times and reducing server load. For WordPress and WooCommerce, this leads to a smoother user experience and better SEO rankings.</p><h3>Setup and Configuration</h3><h4>Prerequisites</h4><ul><li>Linux server with root or sudo access.</li><li>Nginx and PHP-FPM installed and configured.</li><li>WordPress and WooCommerce installed.</li></ul><h4>Installation</h4><ol><li><strong>Download and Install</strong>: Get the plugin from <a href="https://github.com/psaux-it/nginx-fastcgi-cache-purge-and-preload">GitHub</a> and install it on your WordPress site.</li><li><strong>Automated Configuration</strong>: Use the provided setup script for seamless integration.</li></ol><h4>Customizable Options</h4><ul><li>Fine-tune the plugin to match your server setup and caching needs.</li></ul><h3>Advanced Configuration</h3><h4>PHP-FPM and Nginx Setup</h4><p>Ensure proper permissions and connections between the PHP-FPM user and the webserver user to facilitate smooth cache operations.</p><h4>Nginx Configuration</h4><ul><li><strong>Cache Directories</strong>: Create directories for storing cache files.</li><li><strong>Configuration File</strong>: Update Nginx configuration to include cache settings.</li><li><strong>Site Configuration</strong>: Customize site-specific caching rules.</li></ul><h3>Optimizing WooCommerce</h3><p>WooCommerce requires specific caching rules to handle dynamic content, such as cart and checkout pages, ensuring they are not cached.</p><h4>Custom Cache Conditions</h4><ul><li>Implement rules to exclude dynamic pages from caching.</li><li>Adjust cache validity periods for different content types.</li></ul><h3>Maintenance and Monitoring</h3><h3>Automated Cache Purge &amp; Preload</h3><p>The NPP plugin automates cache purging and preloading, ensuring optimal performance without manual intervention.</p><h3>Monitoring Performance</h3><p>Regularly monitor cache performance using tools like Munin, New Relic, or Nginx logs to ensure your setup continues to perform efficiently.</p><h3>Conclusion</h3><p>The Nginx FastCGI Cache Purge &amp; Preload Plugin for WordPress is an invaluable tool for webmasters looking to enhance site performance through efficient cache management. With its robust features, ease of use, and advanced configuration options, it ensures that your WordPress and WooCommerce sites remain fast, responsive, and ready to handle high traffic loads.</p><p>For more information and to download the plugin, visit the <a href="https://github.com/psaux-it/nginx-fastcgi-cache-purge-and-preload">official repository</a> or check out the <a href="https://www.psauxit.com/optimizing-wordpress-and-woocommerce-with-nginx-fastcgi-cache/">detailed setup guide</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d536df779085" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fail2ban whitelist country IP via geolocation]]></title>
            <link>https://medium.com/@psauxit/fail2ban-whitelist-country-ip-via-geolocation-9ac941f20fce?source=rss-9696a34c663f------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ac941f20fce</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[fail2ban]]></category>
            <category><![CDATA[geolocation]]></category>
            <category><![CDATA[whitelist]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[PSAUX IT]]></dc:creator>
            <pubDate>Mon, 27 Feb 2023 22:39:25 GMT</pubDate>
            <atom:updated>2023-02-27T22:53:47.891Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MESERcS--AY1oxeNAm7LfQ.png" /></figure><p>Hi there ! That’s <a href="https://www.psauxit.com/dt_team/hasan-calisir/">Hasan </a>from <a href="https://www.psauxit.com/">PSAUX IT</a> and I have a short but very effective story for you.</p><p>Even you think you have already completed setup with your long running tool, with time you need to deep dive for some specific integrations.</p><p>If you defend your servers via <a href="https://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a> and want to whitelist countries IP’s with help of <a href="https://pkgs.org/download/geoip-bin">geoiplookup </a>tool probably you will find limited sources. Probably you will find such configs and face strange behaviours after configuration.</p><pre>actionban = IP=&lt;ip&gt; &amp;&amp;<br>            COUNTRY=$(geoiplookup $IP | egrep &quot;&lt;country_list&gt;&quot;) &amp;&amp; [ &quot;$COUNTRY&quot; ] ||<br>            (iptables -I f2b-&lt;name&gt; 1 -s &lt;ip&gt; -j &lt;blocktype&gt;)<br><br># Option:  actionunban<br># Notes.:  command executed when unbanning an IP. Take care that the<br>#          command is executed with Fail2Ban user rights.<br># Tags:    See jail.conf(5) man page<br># Values:  CMD<br>#<br>actionunban = IP=&lt;ip&gt; &amp;&amp;<br>              COUNTRY=$(geoiplookup $IP | egrep &quot;&lt;country_list&gt;&quot;) &amp;&amp; [ &quot;$COUNTRY&quot; ] ||<br>              (iptables -D f2b-&lt;name&gt; -s &lt;ip&gt; -j &lt;blocktype&gt;)</pre><p>In this case appending it to the banaction is a bit wrong way, because simply too late — the “banning” of the ticket already happens, for example it is already added into the list of banned tickets (and if you get this IP again — you’ll see still another log messages, like “Already banned”, etc).</p><p><em>So we’re looking for the way to ignore IP in case of certain countries (whitelist).</em></p><p>The proper way is to use ignorecommand (with small cache to avoid too many calls). In this example we whitelisted and never ban Philippines IP’s.</p><h3>jail.local</h3><pre># Option:  country_list<br># Notes.:  List of whitelisted countries separated by pipe &quot;|&quot;<br>country_list = PH|Philippines<br><br># cache max 100 ips for max 5 minutes:<br>ignorecache = key=&quot;&lt;ip&gt;&quot;, max-count=100, max-time=5m<br><br># External command that will take an tagged arguments to ignore, e.g. &lt;ip&gt;,<br># and return true if the IP is to be ignored. False otherwise.<br># ignorecommand = /path/to/command &lt;ip&gt;<br>ignorecommand = COUNTRY=$(geoiplookup &quot;&lt;ip&gt;&quot; | egrep &quot;&lt;country_list&gt;&quot;); [ &quot;$COUNTRY&quot; ] &amp;&amp; exit 0 || exit 1</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ac941f20fce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Spy OpenVPN Clients HTTP Traffic]]></title>
            <link>https://medium.com/@psauxit/spy-openvpn-clients-http-traffic-8bb989fcc845?source=rss-9696a34c663f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bb989fcc845</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[openvpn]]></category>
            <category><![CDATA[cloudflare]]></category>
            <category><![CDATA[spy]]></category>
            <category><![CDATA[dns]]></category>
            <dc:creator><![CDATA[PSAUX IT]]></dc:creator>
            <pubDate>Fri, 24 Feb 2023 05:38:49 GMT</pubDate>
            <atom:updated>2023-02-24T06:10:46.813Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*oBqkCAAErJBIvlq2K7fYVQ.jpeg" /></figure><p>Hi there ! That’s <a href="https://www.psauxit.com/dt_team/hasan-calisir/">Hasan </a>from <a href="https://www.psauxit.com/">PSAUX IT</a> and approx. 5 min later you will have content filtered OpenVPN clients who uses encrypted DNS (DoH) that ready to spy.</p><blockquote>Honestly finishing this tutorial was mentally very hard for me cause of the deep sadness of those who lost their lives in the 7.9 <a href="https://en.wikipedia.org/wiki/2023_Turkey%E2%80%93Syria_earthquake">Turkey earthquake</a>. If you find this tutorial helpful for your project I would kindly ask you donate to the official Turkey-Pazarcık earthquake campaigns via links that we shared in the full tutorial. Thanks in advance !</blockquote><p>In this tutorial, we won’t go over how to set up BIND, OpenVPN or DNSCrypt start from scratch, we assume that if you are reading here you have already technical knowledge to install these packages via package manager.</p><p>Here, BIND used as authoritative primary DNS server that listens to public IP for the zones it is responsible for.</p><p>Making our DNS traffic encrypted and content filtered we will use cloudflare-family (DoH) via <strong>dnscrypt-proxy</strong>. So first we will integrate dnscrypt-proxy with BIND.</p><p>Then we will look overall DNS system architecture, we have to deal with a few things such as <em>systemd-resolved.</em> It will make things complicated but don’t worry we will handle it.</p><p>Finally we will push our content filtered, (DoH) secured DNS to OpenVPN clients, will be testing the configuration and make sure it works.</p><p>At the end of this article we will able to watch our OpenVPN clients http traffic. So do you want to spy them?</p><p>Let’s check the full tutorial.</p><p><a href="https://www.psauxit.com/secured-openvpn-clients-dnscrypt/">Content Filtering + (DoH) for OpenVPN Clients via BIND-DNSCrypt</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bb989fcc845" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>