<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Choose a job you love</title>
	<atom:link href="https://cajyl.com/en/feed/" rel="self" type="application/rss+xml" />
	<link>https://cajyl.com</link>
	<description>and you will never work a day</description>
	<lastBuildDate>Thu, 15 Aug 2024 04:26:53 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://cajyl.com/wp-content/uploads/2024/07/73130396cee06279d984fbd48e98a35d-80x80.webp</url>
	<title>Choose a job you love</title>
	<link>https://cajyl.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Guide &#8211; Obsidian with free, self-hosted, instant sync</title>
		<link>https://cajyl.com/en/guide-obsidian-with-free-self-hosted-instant-sync/</link>
					<comments>https://cajyl.com/en/guide-obsidian-with-free-self-hosted-instant-sync/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Thu, 15 Aug 2024 04:26:53 +0000</pubDate>
				<category><![CDATA[Docker Compose]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3565</guid>

					<description><![CDATA[Docker Compose Below is the docker compose file just to get CouchDB up and running: version: &#34;3.8&#34; services: couchdb-obsidian-livesync: container_name: obsidian-livesync #shortened name image: couchdb:3.3.3 environment: - PUID=99 - PGID=100&#8230;]]></description>
										<content:encoded><![CDATA[<h2 id="docker-compose">Docker Compose</h2>
<p>Below is the docker compose file just to get CouchDB up and running:</p>
<pre><code class="language-docker-compose">version: &quot;3.8&quot;

services:
  couchdb-obsidian-livesync:
    container_name: obsidian-livesync #shortened name
    image: couchdb:3.3.3
    environment:
      - PUID=99
      - PGID=100
      - UMASK=0022
      - TZ=Asia/Ho_Chi_Minh
      - COUCHDB_USER=obsidian_user # optionally change me
      - COUCHDB_PASSWORD=obsidian_password # definitely change me
    volumes:
      - ./data:/opt/couchdb/data
      - ./etc/local.d:/opt/couchdb/etc/local.d
      - ./log:/opt/couchdb/var/log/couchdb # Added log volume
    ports:
      - &quot;5984:5984&quot;
    restart: unless-stopped
    labels:
      - net.unraid.docker.webui=http://[IP]:[PORT:5984]/_utils # This might need to be manually adjusted for the web UI
      - net.unraid.docker.icon=https://couchdb.apache.org/image/couch@2x.png
      - net.unraid.docker.shell=bash
    healthcheck:
      test: [&quot;CMD&quot;, &quot;curl&quot;, &quot;-f&quot;, &quot;http://localhost:5984/_up&quot;] # Healthcheck for CouchDB
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 5s
</code></pre>
<h2 id="couchdb-initial-configuration">CouchDB &#8211; Initial Configuration</h2>
<ol>
<li>
<p>Go to the CouchDB admin page by going here: <a href="http://10.10.10.13:5984/_utils">http://10.10.10.13:5984/_utils</a> make sure to use your server&#8217;s IP address.</p>
</li>
<li>
<p>Login using the credentials you set in the Docker compose file.</p>
</li>
<li>
<p>Click on the <code>&lt;-&gt;</code> icon on the top left, it will expand the menu from simple icons to icons with text which will make following this guide easier.</p>
</li>
<li>
<p>Click on <code>Setup</code> on the left menu.</p>
</li>
<li>
<p>Click on <code>Configure as Single Node</code> and enter the same credentials from the Docker compose file into the <code>Specify your Admin credentials</code> fields.</p>
</li>
<li>
<p>Leave everything else the same and click <code>Configure Node</code>.</p>
</li>
</ol>
<h2 id="couchdb-verify-installation">CouchDB &#8211; Verify Installation</h2>
<ol>
<li>
<p>Let&#8217;s verify the CouchDB installation by clicking <code>Verify</code> on the left menu.</p>
</li>
<li>
<p>Click <code>Verify Installation</code> and if everything is good, a popup banner should popup saying <code>Success! Your CouchDB installation is working. Time to Relax.</code> along with 6 check marks next to each item in the table.</p>
</li>
</ol>
<h2 id="couchdb-create-database">CouchDB &#8211; Create Database</h2>
<ol>
<li>
<p>Click on the <code>Databases</code> on the left menu.</p>
</li>
<li>
<p>Click on <code>Create Database</code> on the top right.</p>
</li>
<li>
<p>Under <code>Database Name</code> enter <code>obsidiandb</code>, or whatever you like. Advice: if you intend to use this setup for multiple users, each user will need their own database, so I recommend naming the database to include the user&#8217;s first name like: <code>obsidiandb_john</code> or <code>obsidiandb_jane</code> just to make it easier in the future.</p>
</li>
<li>
<p>Under <code>Partitioning</code> select <code>Non-partitioned - recommended for most workloads</code>. Once the database is created, you should be redirected to the new database&#8217;s config page. You don&#8217;t have to do anything here.</p>
</li>
</ol>
<h2 id="couchdb-configuration">CouchDB &#8211; Configuration</h2>
<ol>
<li>
<p>Click on <code>Configuration</code> on the left main menu. The following 9 config entries are what the script was intended to do automatically but I wanted to do it manually. Click on <code>+ Add Option</code> on the top right for each entry:</p>
</li>
<li>
<p>Section: <code>chttpd</code> Name: <code>require_valid_user</code> Value: <code>true</code></p>
</li>
<li>
<p>Section: <code>chttpd_auth</code> Name: <code>require_valid_user</code> Value: <code>true</code></p>
</li>
<li>
<p>Section: <code>httpd</code> Name: <code>WWW-Authenticate</code> Value: <code>Basic realm=&quot;couchdb&quot;</code></p>
</li>
<li>
<p>Section: <code>httpd</code> Name: <code>enable_cors</code> Value: <code>true</code></p>
</li>
<li>
<p>Section: <code>chttpd</code> Name: <code>enable_cors</code> Value: <code>true</code></p>
</li>
<li>
<p>Section: <code>chttpd</code> Name: <code>max_http_request_size</code> Value: <code>4294967296</code></p>
</li>
<li>
<p>Section: <code>couchdb</code> Name: <code>max_document_size</code> Value: <code>50000000</code></p>
</li>
<li>
<p>Section: <code>cors</code> Name: <code>credentials</code> Value: <code>true</code></p>
</li>
<li>
<p>Section: <code>cors</code> Name: <code>origins</code> Value: `app://obsidian.md,capacitor://localhost,http://localhost</p>
</li>
</ol>
<h2 id="obsidian-windows-11-client">Obsidian &#8211; Windows 11 Client</h2>
<ol>
<li>
<p>Download and install the Windows 11 Obsidian client from <a href="https://obsidian.md/download">here.</a></p>
</li>
<li>
<p>Once installed, open Obsidian.</p>
</li>
<li>
<p>Next to <code>Create new vault</code> click the <code>Create</code> button next.</p>
</li>
<li>
<p>In the <code>Vault name</code> field, name your Vault whatever you like, I simply named mine <code>Vault</code>. You can think of a vault as a &quot;master folder&quot; that contains all your folders and notes. Some users have different vaults for different aspects of their lives, such as <code>Work</code> or <code>Personal</code> but I keep everything under one vault for ease of use.</p>
</li>
<li>
<p>Next setting is <code>Location</code>, click <code>Browse</code>. This is where your vault will be locally saved. I created an <code>Obsidian</code> folder in the <code>Documents</code> folder but you can put it anywhere you like.</p>
</li>
<li>
<p>Click <code>Create</code> and Obsidian should open up to your newly created vault with 3 window panes. Next step is to setup the LiveSync plugin.</p>
</li>
</ol>
<h2 id="obsidian-livesync-plugin">Obsidian &#8211; LiveSync Plugin</h2>
<ol>
<li>
<p>Click on <code>options</code> button (sprocket icon) on the bottom left area.</p>
</li>
<li>
<p>Click <code>Community plugins</code> and click on the <code>Turn on community plugins</code> button after reading the risk disclosure.</p>
</li>
<li>
<p>Next to <code>Community plugins</code> click on the <code>Browse</code> button.</p>
</li>
<li>
<p>Search for <code>Self-hosted LiveSync</code>.</p>
</li>
<li>
<p>Only 1 plugin should show up and that&#8217;s the one by <code>voratamoroz</code>, click on it.</p>
</li>
<li>
<p>Click the <code>Install</code> button and let it install.</p>
</li>
<li>
<p>Click the <code>Enable</code> button.</p>
</li>
<li>
<p>Click <code>Open setting dialog</code> button.</p>
</li>
<li>
<p>Click <code>Options</code> button.</p>
</li>
<li>
<p>Under <code>Settings for Self-hosted LiveSync.</code> you should see a row of 8 buttons, click on the 4th button with the <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f6f0.png" alt="🛰" class="wp-smiley" style="height: 1em; max-height: 1em;" /> satellite icon.</p>
</li>
<li>
<p>This is where we will enter the self-hosted CouchDB details. Next to <code>Remote Type</code> make sure <code>CouchDB</code> is selected from the drop down menu.</p>
</li>
<li>
<p>In the <code>URI</code> field type <a href="http://10.10.10.13:5984">http://10.10.10.13:5984</a> make sure to change to your server IP and port. (Open the container online with HAProxy)</p>
</li>
<li>
<p>In the <code>Username</code> field type <code>osidian_user</code> or whatever you used in the docker compose.</p>
</li>
<li>
<p>Same for <code>Password</code> field.</p>
</li>
<li>
<p>In the <code>Database name</code> field type <code>obsidiandb</code> or whatever you named your database earlier in CouchDB.</p>
</li>
<li>
<p>Click the <code>Test</code> button to test the connection to the CouchDB database. Assuming everything is working properly a text popup should say <code>Connected to obsidiandb successfully</code>.</p>
</li>
<li>
<p>Click the <code>Check</code> button to confirm the database was configured properly, there should be a purple checkmark next to each line item. If not, there should be a <code>Fix</code> button next to the item that you can click for it to either create or correct for you, but I prefer to manually do it myself.</p>
</li>
<li>
<p>Assuming everything is good up to this point, click the <code>Apply</code> button next to <code>Apply Settings</code>.</p>
</li>
<li>
<p><strong>Optional but recommended:</strong> scroll down to the <code>End-to-end encryption</code> and toggle it on and set a passphrase. Please remember this passphrase as all your other devices must have matching passphrases for it to be able to decrypt your notes. Click the red button <code>Just apply</code>.</p>
</li>
<li>
<p>On the top menu, under <code>Settings for Self-hosted LiveSync.</code> you should see a row of 8 buttons, click on the 5th button with the <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f504.png" alt="🔄" class="wp-smiley" style="height: 1em; max-height: 1em;" /> refresh icon.</p>
</li>
<li>
<p>Next to <code>Sync mode</code> select <code>LiveSync</code> from the drop down menu.</p>
</li>
<li>
<p>You can close the <code>settings</code> windows out, on the top right of the notes you should see <code>Sync: zZz</code> which means everything is working properly and the sync is in standby mode until you start typing something.</p>
</li>
<li>
<p>Repeat the above instructions for all other devices.</p>
</li>
</ol>
<h2 id="reverse-proxy">Reverse Proxy</h2>
<p>I highly recommend putting this behind at least a reverse proxy, I use Nginx Proxy Manager in conjunction with Cloudflare Tunnels. You will definitely need to if you plan on using mobile devices as they require HTTPS.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/guide-obsidian-with-free-self-hosted-instant-sync/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3565</post-id>	</item>
		<item>
		<title>Complete Guide to Vim Commands</title>
		<link>https://cajyl.com/en/complete-guide-to-vim-commands/</link>
					<comments>https://cajyl.com/en/complete-guide-to-vim-commands/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Thu, 25 Jul 2024 22:31:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Ordering]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3549</guid>

					<description><![CDATA[Vim is a powerful and flexible text editor, widely used by developers for its speed and efficiency. Although its command-line interface can be intimidating for beginners, mastering its commands can&#8230;]]></description>
										<content:encoded><![CDATA[
<p>Vim is a powerful and flexible text editor, widely used by developers for its speed and efficiency. Although its command-line interface can be intimidating for beginners, mastering its commands can greatly improve your productivity. Here&#8217;s a complete rundown of Vim&#8217;s essential commands.</p>



<h2 id="vim-modes" class="wp-block-heading">Vim modes</h2>



<p>Vim has several operating modes. The main ones are :</p>



<ul class="wp-block-list">
<li><strong>Normal mode</strong>: The default mode for navigating and executing commands.</li>



<li><strong>Insert mode</strong>: To insert text.</li>



<li><strong>Visual mode</strong>: To select text.</li>



<li><strong>Command mode</strong>: To execute specific commands.<br></li>
</ul>



<h3 id="switching-between-modes" class="wp-block-heading">Switching between modes</h3>



<ul class="wp-block-list">
<li><strong>Esc</strong>: Return to Normal mode.</li>



<li><strong>i</strong>: Switch to Insert mode to the left of the cursor.</li>



<li><strong>a</strong>: Switch to Insert mode to the right of the cursor.</li>



<li><strong>v</strong>: Switch to Visual mode.</li>



<li><strong>(colon)</strong>: Switch to Command mode from Normal mode.<br></li>
</ul>



<h2 id="navigation" class="wp-block-heading">Navigation</h2>



<p>Navigating efficiently is crucial in Vim. Here are some basic commands:</p>



<ul class="wp-block-list">
<li><strong>h</strong>: Move the cursor to the left.</li>



<li><strong>j</strong>: Move the cursor down.</li>



<li><strong>k</strong>: Move the cursor upwards.</li>



<li><strong>l</strong>: Move the cursor to the right.</li>



<li><strong>w</strong>: Go to the beginning of the next word.</li>



<li><strong>b</strong>: Go to the beginning of the previous word.</li>



<li><strong>0</strong>: Go to the beginning of the line.</li>



<li>$ <strong>:</strong> Go to the end of the line.</li>



<li><strong>gg</strong>: Go to the beginning of the file.</li>



<li><strong>G</strong>: Go to the end of the file.<br></li>
</ul>



<h2 id="text-editing" class="wp-block-heading">Text Editing</h2>



<p>Vim offers a host of commands for editing text efficiently.</p>



<h3 id="insert-text" class="wp-block-heading">Insert text</h3>



<ul class="wp-block-list">
<li><strong>i</strong>: Insert before the cursor.</li>



<li><strong>I</strong>: Insert at the beginning of the line.</li>



<li><strong>a</strong>: Insert after the cursor.</li>



<li><strong>A</strong>: Insert at the end of the line.</li>



<li><strong>o</strong>: Insert a new line underneath.</li>



<li><strong>O</strong>: Insert a new line above.<br></li>
</ul>



<h3 id="delete-from-text" class="wp-block-heading">Delete from text</h3>



<ul class="wp-block-list">
<li><strong>x</strong>: Delete the character below the cursor.</li>



<li><strong>dd</strong>: Delete the entire line.</li>



<li><strong>dw</strong>: Delete to the beginning of the next word.</li>



<li><strong>D</strong>: Delete to the end of the line.<br></li>
</ul>



<h3 id="copy-and-paste" class="wp-block-heading">Copy and Paste</h3>



<ul class="wp-block-list">
<li><strong>yy</strong>: Copy (yank) the entire line.</li>



<li><strong>yw</strong>: Copy the next word.</li>



<li><strong>p</strong>: Paste after the cursor.</li>



<li><strong>P</strong>: Paste before the cursor.<br></li>
</ul>



<h3 id="undo-and-redo" class="wp-block-heading">Undo and Redo</h3>



<ul class="wp-block-list">
<li><strong>u</strong>: Cancel the last order.</li>



<li><strong>Ctrl + r</strong>: Restore a cancelled command.<br></li>
</ul>



<h2 id="search-and-replacement" class="wp-block-heading">Search and replacement</h2>



<p>Searching for and replacing text are common operations in file editing.</p>



<h3 id="search" class="wp-block-heading">Search</h3>



<ul class="wp-block-list">
<li><strong>/</strong>: Search forwards in the file.</li>



<li><strong>?</strong>: Search backwards in the file.</li>



<li><strong>n</strong>: Go to the next occurrence.</li>



<li><strong>N</strong>: Go to the previous occurrence.<br></li>
</ul>



<h3 id="replacement" class="wp-block-heading">Replacement</h3>



<ul class="wp-block-list">
<li><strong>:s/old/new</strong>: Replace the first occurrence on the current line.</li>



<li><strong>:s/old/new/g</strong>: Replace all occurrences on the current line.</li>



<li><strong>:%s/old/new/g</strong>: Replace all occurrences in the entire file.<br></li>
</ul>



<h2 id="file-management" class="wp-block-heading">File Management</h2>



<p>File management commands are essential for opening, saving and closing files.</p>



<ul class="wp-block-list">
<li><strong>:e file_name</strong>: Open a file.</li>



<li><strong>:w</strong>: Save the current file.</li>



<li><strong>:w filename</strong>: Save under another name.</li>



<li><strong>:q</strong>: Exit Vim.</li>



<li><strong>:q!</strong> Quit without saving.</li>



<li><strong>:wq</strong>: Save and exit.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>Vim is a powerful tool that can dramatically improve your workflow. Start with these basic commands and explore the many advanced features Vim has to offer. With practice, you&#8217;ll find that Vim becomes an indispensable tool in your development arsenal.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/complete-guide-to-vim-commands/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3549</post-id>	</item>
		<item>
		<title>Bitwarden: The Ultimate Password Management Solution</title>
		<link>https://cajyl.com/en/bitwarden-the-ultimate-password-management-solution/</link>
					<comments>https://cajyl.com/en/bitwarden-the-ultimate-password-management-solution/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 03:47:29 +0000</pubDate>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3490</guid>

					<description><![CDATA[Bitwarden is an open-source password manager that has gained popularity thanks to its robust security, flexibility and wide range of features. In this article, we&#8217;ll explore in detail why Bitwarden&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://bitwarden.com"><strong>Bitwarden</strong></a> is an open-source password manager that has gained popularity thanks to its robust security, flexibility and wide range of features. In this article, we&#8217;ll explore in detail why Bitwarden is an essential solution for managing your passwords, whether for personal or business use.</p>



<h2 id="why-choose-bitwarden" class="wp-block-heading">Why choose Bitwarden?</h2>



<h3 id="1-high-level-safety" class="wp-block-heading">1. <strong>High-level safety</strong></h3>



<p>Security is Bitwarden&#8217;s top priority. Here are some of the security features that make Bitwarden a first choice option:</p>



<ul class="wp-block-list">
<li>End-to-end<strong>encryption</strong>: All passwords and sensitive data are encrypted locally on your device before being sent to Bitwarden&#8217;s servers. This means that only you can decrypt your data.</li>



<li><strong>Open Source</strong>: Bitwarden&#8217;s source code is open and available for public review on <a href="https://github.com/bitwarden">GitHub</a>. This allows the community to check the integrity of the code and contribute to its improvement.</li>



<li><strong>Two-factor authentication (2FA)</strong>: Bitwarden supports a variety of two-factor authentication methods to add an extra layer of security to your account.<br></li>
</ul>



<h3 id="2-ease-of-use" class="wp-block-heading">2. <strong>Ease of use</strong></h3>



<p>Bitwarden is designed to be intuitive and easy to use. Whether you are a beginner or an experienced user, you will find Bitwarden&#8217;s interface simple and user-friendly.</p>



<ul class="wp-block-list">
<li><strong>Browser extensions</strong>: Bitwarden offers extensions for all popular browsers, allowing you to automatically fill in your passwords and save them directly from your browser.</li>



<li><strong>Mobile applications</strong>: Bitwarden applications for iOS and Android allow you to manage your passwords on the move.</li>



<li><strong>Desktop Application and Web Interface</strong>: You can access your passwords from any device thanks to Bitwarden&#8217;s desktop applications and web interface.<br></li>
</ul>



<h3 id="3-multi-device-synchronisation" class="wp-block-heading">3. <strong>Multi-device synchronisation</strong></h3>



<p>Bitwarden synchronises your passwords and other sensitive data on all your devices in real time. Whether you add a new password on your phone or computer, it will be immediately available on all your other devices.</p>



<h3 id="4-advanced-features" class="wp-block-heading">4. <strong>Advanced features</strong></h3>



<p>Bitwarden offers a range of advanced features that make it more than just a password manager:</p>



<ul class="wp-block-list">
<li><strong>Password Generator</strong>: Bitwarden can generate strong, unique passwords for each account, minimising security risks.</li>



<li><strong>Secure Sharing</strong>: You can share passwords and other sensitive information securely with other Bitwarden users.</li>



<li><strong>Secure Note Storage</strong>: In addition to passwords, Bitwarden allows you to store secure notes, credit card information and other sensitive data.<br></li>
</ul>



<h3 id="5-affordable-and-flexible-plans" class="wp-block-heading">5. <strong>Affordable and flexible plans</strong></h3>



<p>Bitwarden offers a feature-rich free version, as well as affordable premium plans that add extra functionality:</p>



<ul class="wp-block-list">
<li><strong>Free Plan</strong>: Includes most of the basic functions, sufficient for personal use.</li>



<li><strong>Premium Plan</strong>: For a small fee, you get advanced features such as two-factor authentication with U2F keys, 1GB of encrypted file storage, and password health reports.</li>



<li><strong>Family and business plans</strong>: Bitwarden also offers plans for families and businesses, facilitating the shared management of passwords and sensitive information.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>Bitwarden stands out as one of the best password management solutions thanks to its robust security, ease of use and flexibility. Whether you are looking to secure your personal accounts or manage your corporate passwords, Bitwarden offers a complete and reliable solution.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://bitwarden.com">Official website of Bitwarden</a></li>



<li><a href="https://bitwarden.com/help/">Bitwarden documentation</a></li>



<li><a href="https://github.com/bitwarden">Bitwarden GitHub repository</a><br></li>
</ul>



<p>Share your experiences with Bitwarden and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/bitwarden-the-ultimate-password-management-solution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3490</post-id>	</item>
		<item>
		<title>UniFi Express: Optimising Your Home Network with a Reliable Solution</title>
		<link>https://cajyl.com/en/unifi-express-optimising-your-home-network-with-a-reliable-solution/</link>
					<comments>https://cajyl.com/en/unifi-express-optimising-your-home-network-with-a-reliable-solution/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:56:01 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3449</guid>

					<description><![CDATA[UniFi Express is Ubiquiti&#8217;s network management solution designed to provide reliable, high-performance connectivity in the home. Although UniFi Express is particularly suited to residential needs, Ubiquiti also offers more advanced&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.ui.com"><strong>UniFi Express</strong></a> is Ubiquiti&#8217;s network management solution designed to provide reliable, high-performance connectivity in the home. Although UniFi Express is particularly suited to residential needs, Ubiquiti also offers more advanced models for businesses. This article explores the benefits of UniFi Express for home use and briefly compares it with professional solutions.</p>



<h2 id="why-choose-unifi-express-for-your-home" class="wp-block-heading">Why choose UniFi Express for your home ?</h2>



<h3 id="1-simple-and-intuitive-installation" class="wp-block-heading">1. <strong>Simple and intuitive installation</strong></h3>



<p>UniFi Express is designed to be easy to install and configure, even for non-technical users. You can manage your entire network via an intuitive web interface or a dedicated mobile app. This ease of use is ideal for homes where network management is not a daily task.</p>



<h3 id="2-reliable-network-performance" class="wp-block-heading">2. <strong>Reliable Network Performance</strong></h3>



<p>One of the main advantages of UniFi Express is its ability to offer fast, stable connectivity. With high speeds and extensive coverage, it meets the needs of modern households that use multiple devices simultaneously for streaming, online gaming and teleworking.</p>



<ul class="wp-block-list">
<li><strong>High-speed Wi-Fi</strong>: enjoy a fast, reliable wireless connection thanks to the latest Wi-Fi technology.</li>



<li><strong>Extensive coverage</strong>: UniFi Express access points provide complete coverage in your home, reducing dead zones and connection interruptions.<br></li>
</ul>



<h3 id="3-centralised-management" class="wp-block-heading">3. <strong>Centralised management</strong></h3>



<p>UniFi Express lets you manage your entire network from a single interface. You can monitor network usage, configure security settings and control connected devices with ease. This centralised management makes it easy to troubleshoot and optimise your home network.</p>



<h3 id="4-advanced-security" class="wp-block-heading">4. <strong>Advanced Security</strong></h3>



<p>Security is a priority for UniFi Express. The solution offers robust security features to protect your network against external threats:</p>



<ul class="wp-block-list">
<li><strong>WPA3 encryption</strong>: Ensure a high level of security for your wireless connections.</li>



<li><strong>Access Control</strong>: Configure rules and access controls to manage the devices that connect to your network.<br></li>
</ul>



<h3 id="5-scalability" class="wp-block-heading">5. <strong>Scalability</strong></h3>



<p>While UniFi Express is perfectly suited to residential needs, it&#8217;s also designed to grow with your future needs. If your home grows or your network requirements increase, you can easily add additional access points or switches to expand your network.</p>



<h2 id="comparison-with-professional-models" class="wp-block-heading">Comparison with Professional Models</h2>



<h3 id="1-advanced-business-solutions" class="wp-block-heading">1. <strong>Advanced Business Solutions</strong></h3>



<p>For businesses, Ubiquiti offers more advanced UniFi solutions, such as the <strong>UniFi Dream Machine</strong> and <strong>UniFi Pro</strong> models. These models offer additional features such as :</p>



<ul class="wp-block-list">
<li><strong>Advanced Network Management</strong>: more detailed configuration options and complex network management.</li>



<li><strong>Increased performance</strong>: Processing capacity and connection speeds adapted to professional environments.</li>



<li><strong>Comprehensive features</strong>: Integration with enterprise network management systems, advanced security features and extensive customisation options.<br></li>
</ul>



<h3 id="2-adaptability" class="wp-block-heading">2. <strong>Adaptability</strong></h3>



<p>Professional models are designed for large-scale enterprise environments, with increased scalability and flexibility to meet the specific needs of organisations.</p>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>UniFi Express is an ideal solution for homes looking for reliable, secure and easy-to-manage network connectivity. With features tailored to home needs and an intuitive user interface, UniFi Express simplifies network management at home. For businesses, Ubiquiti offers more advanced models that meet the more complex requirements of professional environments.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://www.ui.com">UniFi Express official website</a></li>



<li><a href="https://help.ui.com/hc/en-us">UniFi documentation</a><br></li>
</ul>



<p>Share your experiences with UniFi Express and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/unifi-express-optimising-your-home-network-with-a-reliable-solution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3449</post-id>	</item>
		<item>
		<title>Cloudflare: Maximising the Features of the Free Version</title>
		<link>https://cajyl.com/en/cloudflare-maximising-the-features-of-the-free-version/</link>
					<comments>https://cajyl.com/en/cloudflare-maximising-the-features-of-the-free-version/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:55:59 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3446</guid>

					<description><![CDATA[Cloudflare is a popular platform that offers a range of services to improve website performance and security. Even with its free version, Cloudflare offers powerful features for domain management, DNS&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.cloudflare.com"><strong>Cloudflare</strong></a> is a popular platform that offers a range of services to improve website performance and security. Even with its free version, Cloudflare offers powerful features for domain management, DNS management, CDN, and more. In this article, we&#8217;ll explore how to take advantage of these features at no cost.</p>



<h2 id="domain-management-with-cloudflare" class="wp-block-heading">Domain management with Cloudflare</h2>



<h3 id="1-domain-registration-and-transfer" class="wp-block-heading">1. <strong>Domain Registration and Transfer</strong></h3>



<p>Cloudflare allows you to register domains directly via its platform, but you can also use Cloudflare to manage domains that you have purchased elsewhere. Here&#8217;s how to do it:</p>



<ul class="wp-block-list">
<li><strong>Add a Domain</strong>: Log in to your Cloudflare account and go to <code>Add a Site</code>. Enter your domain name to begin the configuration process.</li>



<li><strong>Changing Nameservers</strong>: Once you have added your domain, Cloudflare will provide nameservers for you to configure with your current registrar. This allows Cloudflare to manage your domain&#8217;s DNS traffic.</li>



<li><strong>Domain Transfer</strong>: To transfer a domain to Cloudflare, go to <code>Domain Registration</code> and follow the instructions to initiate the transfer.<br></li>
</ul>



<h3 id="2-dns-management" class="wp-block-heading">2. <strong>DNS management</strong></h3>



<p>DNS management on Cloudflare is intuitive and offers a number of advantages:</p>



<ul class="wp-block-list">
<li><strong>Simplified management interface</strong>: The platform offers a clear interface for adding, modifying or deleting DNS records.</li>



<li><strong>DNS Record Types</strong>: You can manage various record types, including A, CNAME, MX, TXT, and more.</li>



<li><strong>Fast DNS propagation</strong>: DNS changes propagate quickly thanks to Cloudflare&#8217;s global infrastructure.<br></li>
</ul>



<h3 id="3-security-with-dnssec" class="wp-block-heading">3. <strong>Security with DNSSEC</strong></h3>



<p>Cloudflare supports DNSSEC (Domain Name System Security Extensions) to protect your domain against cache poisoning attacks. You can activate DNSSEC in the DNS section of your Cloudflare dashboard.</p>



<h2 id="turnstile-an-alternative-captcha-solution" class="wp-block-heading">Turnstile: An alternative CAPTCHA solution</h2>



<h3 id="1-what-is-turnstile" class="wp-block-heading">1. <strong>What is Turnstile?</strong></h3>



<p>Turnstile is an alternative to traditional CAPTCHAs, designed to offer a smoother user experience while providing protection against bots. Unlike traditional CAPTCHAs, Turnstile does not require complex user interaction.</p>



<h3 id="2-turnstile-configuration" class="wp-block-heading">2. <strong>Turnstile configuration</strong></h3>



<p>To configure Turnstile :</p>



<ul class="wp-block-list">
<li><strong>Activate Turnstile</strong>: Go to <code>Firewall</code> > <code>Tools</code> in your Cloudflare dashboard.</li>



<li><strong>Configure Settings</strong>: You can adjust the settings to tailor the level of security to the needs of your site.<br></li>
</ul>



<h2 id="cdn-content-delivery-network-speed-up-your-website" class="wp-block-heading">CDN (Content Delivery Network): Speed up your website</h2>



<h3 id="1-cloudflare-cdn-features" class="wp-block-heading">1. <strong>Cloudflare CDN features</strong></h3>



<p>Cloudflare offers an integrated CDN that improves website loading speed and reduces latency:</p>



<ul class="wp-block-list">
<li><strong>Content Distribution</strong>: Cloudflare&#8217;s CDN distributes your content across a global network of servers to deliver faster load times to visitors, regardless of their geographic location.</li>



<li><strong>Dynamic and static caching</strong>: Cloudflare caches both static content (such as images and CSS/JS files) and dynamic content (such as HTML pages) to optimise performance.</li>



<li><strong>Content compression</strong>: Cloudflare&#8217;s compression features reduce the size of transferred files, improving loading times.<br></li>
</ul>



<h3 id="2-performance-optimisation" class="wp-block-heading">2. <strong>Performance optimisation</strong></h3>



<ul class="wp-block-list">
<li><strong>Minification</strong>: Cloudflare offers minification tools to reduce the size of CSS, JavaScript and HTML files.</li>



<li><strong>Argo Smart Routing</strong>: Although this feature is only available on paid plans, the free version already offers a significant performance improvement thanks to Cloudflare&#8217;s CDN infrastructure.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>The free version of Cloudflare offers an impressive suite of features to improve your domain management, optimise performance with a CDN, and secure your site with Turnstile. Whether you&#8217;re an individual or a small business, Cloudflare allows you to benefit from increased protection and better performance at no extra cost.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://www.cloudflare.com">Official Cloudflare website</a></li>



<li><a href="https://developers.cloudflare.com">Cloudflare documentation</a></li>



<li><a href="https://developers.cloudflare.com/dns/">Cloudflare DNS Configuration Guide</a></li>



<li><a href="https://www.cloudflare.com/turnstile/">Information about Turnstile</a><br></li>
</ul>



<p>Share your experiences with Cloudflare and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/cloudflare-maximising-the-features-of-the-free-version/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3446</post-id>	</item>
		<item>
		<title>HAProxy with pfSense: Optimising Load Balancing and High Availability</title>
		<link>https://cajyl.com/en/haproxy-with-pfsense-optimising-load-balancing-and-high-availability/</link>
					<comments>https://cajyl.com/en/haproxy-with-pfsense-optimising-load-balancing-and-high-availability/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:55:47 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3443</guid>

					<description><![CDATA[HAProxy is a load balancing and high availability solution widely used in production environments. When integrated with pfSense, an open source firewall and router, it enables network traffic to be&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="http://www.haproxy.org"><strong>HAProxy</strong></a> is a load balancing and high availability solution widely used in production environments. When integrated with <a href="https://www.pfsense.org">pfSense</a>, an open source firewall and router, it enables network traffic to be managed efficiently and improves service availability. This article guides you through the installation and configuration of HAProxy on pfSense to optimise load balancing and high availability.</p>



<h2 id="why-use-haproxy-with-pfsense" class="wp-block-heading">Why use HAProxy with pfSense?</h2>



<h3 id="1-efficient-load-distribution" class="wp-block-heading">1. <strong>Efficient Load Distribution</strong></h3>



<p>HAProxy is designed to balance traffic between multiple servers using sophisticated load balancing algorithms. By integrating it with pfSense, you can ensure fair distribution of traffic and avoid overloading your servers.</p>



<h3 id="2-high-availability" class="wp-block-heading">2. <strong>High availability</strong></h3>



<p>HAProxy offers high-availability features that enable you to maintain access to your services even in the event of a server failure. Coupled with pfSense, it ensures increased resilience and service continuity.</p>



<h3 id="3-flexibility-and-advanced-configuration" class="wp-block-heading">3. <strong>Flexibility and Advanced Configuration</strong></h3>



<p>With HAProxy, you can configure complex rules to direct traffic based on criteria you define, such as IP addresses, ports or HTTP headers. This flexibility is amplified by the capabilities of pfSense.</p>



<h3 id="4-monitoring-and-management" class="wp-block-heading">4. <strong>Monitoring and Management</strong></h3>



<p>HAProxy provides monitoring and management tools to track the performance of your servers and optimise traffic distribution. pfSense also offers integrated monitoring tools for a complete overview of your network.</p>



<h2 id="installing-and-configuring-haproxy-on-pfsense" class="wp-block-heading">Installing and configuring HAProxy on pfSense</h2>



<h3 id="prerequisites" class="wp-block-heading">Prerequisites</h3>



<p>Before you start, make sure you :</p>



<ul class="wp-block-list">
<li>Have a pfSense system installed and operational.</li>



<li>Have servers to balance.</li>



<li>Internet access to download the necessary packages.<br></li>
</ul>



<h3 id="step-1-installing-the-haproxy-package" class="wp-block-heading">Step 1: Installing the HAProxy package</h3>



<ol class="wp-block-list">
<li><strong>Access the pfSense Web Interface</strong><br></li>
</ol>



<p>Connect to the pfSense web interface via the IP address of your firewall.</p>



<ol class="wp-block-list" start="2">
	<li><strong>Install the HAProxy package</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>Go to <code>System</code> > <code>Package Manager</code> > <code>Available Packages</code>.</li>



<li>Search for <code>HAProxy</code> in the list of available packages.</li>



<li>Click <code>Install</code> to add the HAProxy package to pfSense.<br></li>
</ul>



<h3 id="step-2-configuring-haproxy" class="wp-block-heading">Step 2: Configuring HAProxy</h3>



<ol class="wp-block-list">
<li><strong>Configuring the Backend Servers</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>Go to <code>Services</code> > <code>HAProxy</code> > <code>Backend</code>.</li>



<li>Click <code>Add</code> to create a new backend.</li>



<li>Enter the information for the backend servers, including their IP address and the port on which they are listening.</li>



<li>Configure the load balancing options to suit your needs.<br></li>
</ul>



<ol class="wp-block-list" start="2">
	<li><strong>Configuring the Frontend</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>Go to <code>Services</code> > <code>HAProxy</code> > <code>Frontend</code>.</li>



<li>Click <code>Add</code> to create a new frontend.</li>



<li>Define the frontend parameters, including the IP address and listening port (for example, port 80 for HTTP or 443 for HTTPS).</li>



<li>Link the frontend to the backend you created earlier.<br></li>
</ul>



<ol class="wp-block-list" start="3">
	<li><strong>Configuring Rules and Advanced Options</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>In the frontend configuration, you can add rules to direct traffic based on HTTP headers, URL paths or other criteria.</li>



<li>Configure advanced options such as session parameters, server health options and SSL parameters if necessary.<br></li>
</ul>



<h3 id="step-3-checking-and-troubleshooting" class="wp-block-heading">Step 3: Checking and Troubleshooting</h3>



<ol class="wp-block-list">
<li><strong>Check the Configuration</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>Access the pfSense web interface and ensure that HAProxy is running without errors.</li>



<li>Test traffic distribution by accessing your services via the configured IP address or domain name.<br></li>
</ul>



<ol class="wp-block-list" start="2">
	<li><strong>Consult the Logs</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>If you encounter any problems, check the HAProxy logs in <code>Status</code> > <code>System Logs</code> > <code>System</code> > <code>Services</code> to identify any errors.<br></li>
</ul>



<h3 id="stage-4-monitoring-and-maintenance" class="wp-block-heading">Stage 4: Monitoring and maintenance</h3>



<ol class="wp-block-list">
<li><strong>Monitor Performance</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>Use pfSense monitoring tools to track the performance of your servers and network traffic.</li>



<li>Consult the HAProxy statistics for detailed information on server traffic and performance.<br></li>
</ul>



<ol class="wp-block-list" start="2">
	<li><strong>Hold down the Configuration</strong><br></li>
</ol>



<ul class="wp-block-list">
<li>Update the HAProxy configuration to reflect changes in your infrastructure or your load balancing requirements.</li>



<li>Make sure that pfSense and HAProxy are regularly updated to take advantage of the latest features and security patches.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>HAProxy&#8217;s integration with pfSense enables you to effectively manage load balancing and improve the high availability of your network services. Thanks to its flexibility and advanced features, HAProxy is a powerful solution for optimising the performance and resilience of your network infrastructure.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="http://www.haproxy.org">Official website of HAProxy</a></li>



<li><a href="http://cbonte.github.io/haproxy-dconv/">Official HAProxy documentation</a></li>



<li><a href="https://github.com/haproxy/haproxy">HAProxy GitHub Repository</a></li>



<li><a href="https://www.pfsense.org">Official website of pfSense</a></li>



<li><a href="https://docs.netgate.com/pfsense/en/latest/">Official pfSense documentation</a><br></li>
</ul>



<p>Share your experiences with HAProxy on pfSense and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/haproxy-with-pfsense-optimising-load-balancing-and-high-availability/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3443</post-id>	</item>
		<item>
		<title>WireGuard: The Modern VPN for Optimal Security and Performance</title>
		<link>https://cajyl.com/en/wireguard-the-modern-vpn-for-optimal-security-and-performance/</link>
					<comments>https://cajyl.com/en/wireguard-the-modern-vpn-for-optimal-security-and-performance/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:55:46 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3440</guid>

					<description><![CDATA[WireGuard is a modern VPN protocol that stands out for its simplicity, performance and security. Created to be faster and lighter than traditional VPN protocols, WireGuard offers an effective solution&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.wireguard.com"><strong>WireGuard</strong></a> is a modern VPN protocol that stands out for its simplicity, performance and security. Created to be faster and lighter than traditional VPN protocols, WireGuard offers an effective solution for securing your network communications. This article explores the benefits of WireGuard and provides a comprehensive guide to its installation and configuration.</p>



<h2 id="why-choose-wireguard" class="wp-block-heading">Why choose WireGuard?</h2>



<h3 id="1-exceptional-performance" class="wp-block-heading">1. <strong>Exceptional Performance</strong></h3>



<p>WireGuard is designed to deliver high performance thanks to its minimalist architecture. The protocol uses modern, efficient encryption algorithms to guarantee fast connection speeds while maintaining a low impact on system resources.</p>



<h3 id="2-easy-to-configure" class="wp-block-heading">2. <strong>Easy to configure</strong></h3>



<p>With WireGuard, configuration is simplified thanks to a clear user interface and a reduced number of options. This makes VPN installation and management easier, even for users who are not network experts. WireGuard&#8217;s source code is also much shorter and easier to audit, which contributes to better security.</p>



<h3 id="3-advanced-security" class="wp-block-heading">3. <strong>Advanced Security</strong></h3>



<p>WireGuard uses modern, proven encryption algorithms, such as ChaCha20 for data encryption and Curve25519 for key exchange. This advanced level of security helps protect your communications against attacks and intrusions.</p>



<h3 id="4-multi-platform-support" class="wp-block-heading">4. <strong>Multi-platform support</strong></h3>



<p>WireGuard is compatible with a variety of operating systems, including Linux, Windows, macOS, iOS, and Android. So you can deploy WireGuard on a variety of devices to secure your network consistently, whether on servers or personal devices.</p>



<h3 id="5-ease-of-integration" class="wp-block-heading">5. <strong>Ease of integration</strong></h3>



<p>WireGuard can be easily integrated with existing network configurations. It can be used to establish point-to-point VPN connections or to create complete virtual private networks. Its integration with modern operating systems makes it ideal for use in a variety of environments.</p>



<h2 id="wireguard-installation-and-configuration" class="wp-block-heading">WireGuard Installation and Configuration</h2>



<p>Installing WireGuard is quick and easy. Here is a step-by-step guide to configuring WireGuard on different operating systems.</p>



<h3 id="prerequisites" class="wp-block-heading">Prerequisites</h3>



<p>Before you start, make sure you have :</p>



<ul class="wp-block-list">
<li>A server to run WireGuard.</li>



<li>One or more clients to connect to the VPN.</li>



<li>Internet access to download the necessary software.<br></li>
</ul>



<h3 id="installation-on-linux" class="wp-block-heading">Installation on Linux</h3>



<ol class="wp-block-list">
<li><strong>Install WireGuard</strong><br></li>
</ol>



<p>On a Debian or Ubuntu system, you can install WireGuard using the following commands:</p>



<pre class="wp-block-code"><code>sudo apt update
sudo apt install wireguard
</code></pre>



<p>On CentOS or RHEL, you can use :</p>



<pre class="wp-block-code"><code>sudo yum install epel-release
sudo yum install wireguard-tools
</code></pre>



<ol class="wp-block-list" start="2">
	<li><strong>Configuring the WireGuard Server</strong><br></li>
</ol>



<p>Create a private key and a public key for the server :</p>



<pre class="wp-block-code"><code>umask 077
wg genkey | tee server.key | wg pubkey &gt; server.pub
</code></pre>



<p>Configure the <code>/etc/wireguard/wg0.conf</code> file with the server parameters :</p>



<pre class="wp-block-code"><code>&#91;Interface]
PrivateKey = &lt;clé-privée-du-serveur&gt;
Address = 10.0.0.1/24
ListenPort = 51820

&#91;Peer]
PublicKey = &lt;clé-publique-du-client&gt;
AllowedIPs = 10.0.0.2/32
</code></pre>



<ol class="wp-block-list" start="3">
	<li><strong>Start and Activate WireGuard</strong><br></li>
</ol>



<p>Start WireGuard with the following command:</p>



<pre class="wp-block-code"><code>sudo wg-quick up wg0
</code></pre>



<p>To activate WireGuard at start-up, use :</p>



<pre class="wp-block-code"><code>sudo systemctl enable wg-quick@wg0
</code></pre>



<h3 id="installation-on-windows" class="wp-block-heading">Installation on Windows</h3>



<ol class="wp-block-list">
<li><strong>Download and install WireGuard</strong><br></li>
</ol>



<p>Download the WireGuard client for Windows from the <a href="https://www.wireguard.com/install/">official WireGuard website</a>. Run the installation file and follow the instructions.</p>



<ol class="wp-block-list" start="2">
	<li><strong>Configuring the Client</strong><br></li>
</ol>



<p>Open the WireGuard application, click on <code>Add Tunnel</code> and choose <code>Add empty tunnel</code>. Enter the client configuration information, including the private key and server parameters.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Connect to VPN</strong><br></li>
</ol>



<p>Click <code>Activate</code> to establish the VPN connection.</p>



<h3 id="installation-on-macos" class="wp-block-heading">Installation on macOS</h3>



<ol class="wp-block-list">
<li><strong>Download and install WireGuard</strong><br></li>
</ol>



<p>Download the WireGuard client for macOS from the <a href="https://www.wireguard.com/install/">official WireGuard website</a>. Open the <code>.dmg</code> file and drag the application into the Applications folder.</p>



<ol class="wp-block-list" start="2">
	<li><strong>Configuring the Client</strong><br></li>
</ol>



<p>Launch the WireGuard application and click on <code>Add Tunnel</code>. Enter the client configuration information.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Connect to VPN</strong><br></li>
</ol>



<p>Click <code>Activate</code> to establish the VPN connection.</p>



<h3 id="installation-on-ios-and-android" class="wp-block-heading">Installation on iOS and Android</h3>



<ol class="wp-block-list">
<li><strong>Download the Application</strong><br></li>
</ol>



<p>Download the WireGuard application from the App Store (iOS) or Google Play Store (Android).</p>



<ol class="wp-block-list" start="2">
	<li><strong>Configuring the Client</strong><br></li>
</ol>



<p>Open the application and add a new tunnel by entering the client&#8217;s configuration information.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Connect to VPN</strong><br></li>
</ol>



<p>Activate the tunnel to establish the VPN connection.</p>



<h2 id="advanced-use-of-wireguard" class="wp-block-heading">Advanced use of WireGuard</h2>



<p>Once WireGuard is installed and configured, you can explore advanced features:</p>



<ul class="wp-block-list">
<li><strong>Configure Advanced Routing</strong>: Configure specific routes to route VPN traffic according to your needs.</li>



<li><strong>Manage Multiple Connections</strong>: Manage multiple VPN connections by creating additional configurations for different clients or servers.</li>



<li><strong>Integrate with Security Tools</strong>: Use WireGuard with monitoring tools to ensure increased security and better network management.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>WireGuard is a modern VPN solution that offers an exceptional combination of performance, simplicity and security. With easy installation and simplified configuration, WireGuard is ideal for individuals and organisations looking to protect their network communications. Whether you deploy WireGuard on a server or across multiple devices, it provides you with an effective and reliable VPN solution.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://www.wireguard.com">WireGuard official website</a></li>



<li><a href="https://www.wireguard.com/#documentation">Official WireGuard documentation</a></li>



<li><a href="https://github.com/WireGuard">WireGuard GitHub Repository</a><br></li>
</ul>



<p>Share your experiences with WireGuard and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/wireguard-the-modern-vpn-for-optimal-security-and-performance/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3440</post-id>	</item>
		<item>
		<title>pfSense: The Essential Open Source Firewall and Router Solution</title>
		<link>https://cajyl.com/en/pfsense-the-essential-open-source-firewall-and-router-solution/</link>
					<comments>https://cajyl.com/en/pfsense-the-essential-open-source-firewall-and-router-solution/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:55:44 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3437</guid>

					<description><![CDATA[pfSense is an open source operating system based on FreeBSD, designed to offer advanced firewall and routing functionalities. It&#8217;s a robust and flexible solution for securing and managing your network&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.pfsense.org"><strong>pfSense</strong></a> is an open source operating system based on FreeBSD, designed to offer advanced firewall and routing functionalities. It&#8217;s a robust and flexible solution for securing and managing your network effectively. Whether you&#8217;re an experienced system administrator or a technology enthusiast looking to optimise your home network, pfSense offers a variety of features to suit your needs. This article explores the benefits of pfSense and provides a detailed guide to its installation and configuration.</p>



<h2 id="why-choose-pfsense" class="wp-block-heading">Why choose pfSense?</h2>



<h3 id="1-advanced-security-features" class="wp-block-heading">1. <strong>Advanced Security Features</strong></h3>



<p>pfSense offers a full range of security features, including packet filtering, intrusion prevention and VPN. You can configure sophisticated firewall rules to protect your network from external and internal threats. What&#8217;s more, pfSense offers integration with intrusion detection and prevention tools (IDS/IPS) such as Snort or Suricata.</p>



<h3 id="2-easy-network-management" class="wp-block-heading">2. <strong>Easy Network Management</strong></h3>



<p>With pfSense, you can manage multiple networks and VLANs from a single interface. This allows you to segment your network for greater security and simplified management. You can also configure VPNs for secure remote access to your network.</p>



<h3 id="3-extendable-with-plugins" class="wp-block-heading">3. <strong>Extendable with Plugins</strong></h3>



<p>pfSense is highly extensible thanks to a vast collection of packages available in the <a href="https://github.com/pfsense/FreeBSD-ports/tree/master/security">pfSense Package Repository</a>. These plugins add extra functionality such as monitoring tools, web cache servers and more.</p>



<h3 id="4-intuitive-web-interface" class="wp-block-heading">4. <strong>Intuitive web interface</strong></h3>



<p>The pfSense web interface is designed to be easy to use, even for those who are not experts in network administration. You can configure and monitor your network from an intuitive graphical interface, without having to interact with the command line.</p>



<h3 id="5-active-community-and-documentation" class="wp-block-heading">5. <strong>Active Community and Documentation</strong></h3>



<p>pfSense has an active community offering valuable support and resources to help you get the most out of your installation. You can access comprehensive documentation and discussion forums to get answers to your questions and solve problems.</p>



<h2 id="installing-and-configuring-pfsense" class="wp-block-heading">Installing and configuring pfSense</h2>



<p>Installing pfSense is simple and straightforward. Here&#8217;s a step-by-step guide to installing pfSense and configuring the basic features.</p>



<h3 id="prerequisites" class="wp-block-heading">Prerequisites</h3>



<p>Before you start, make sure you have :</p>



<ul class="wp-block-list">
<li>Installation media for pfSense (USB key or CD/DVD).</li>



<li>A compatible server or PC to run pfSense.</li>



<li>An Internet connection to download updates and packages.<br></li>
</ul>



<h3 id="download-pfsense" class="wp-block-heading">Download pfSense</h3>



<ol class="wp-block-list">
<li><strong>Download ISO Image</strong><br></li>
</ol>



<p>Go to the <a href="https://www.pfsense.org/download/">official pfSense website</a> and download the ISO image for your hardware (installer for USB or CD/DVD).</p>



<ol class="wp-block-list" start="2">
	<li><strong>Creating installation media</strong><br></li>
</ol>



<p>Use a tool such as <a href="https://rufus.ie/">Rufus</a> (for Windows) or <code>dd</code> (for Linux) to create bootable installation media from the ISO image.</p>



<h3 id="installing-pfsense" class="wp-block-heading">Installing pfSense</h3>



<ol class="wp-block-list">
<li><strong>Start Server</strong><br></li>
</ol>



<p>Insert the installation media into the server and boot it. Access the BIOS/UEFI to select the installation media as the boot device.</p>



<ol class="wp-block-list" start="2">
	<li><strong>Install pfSense</strong><br></li>
</ol>



<p>Follow the on-screen instructions to install pfSense. You will need to configure basic settings such as the destination disk and partitions. The installer will guide you through the initial configuration process.</p>



<h3 id="initial-configuration" class="wp-block-heading">Initial configuration</h3>



<ol class="wp-block-list">
<li><strong>Access the Web Interface</strong><br></li>
</ol>



<p>After installation, connect to the pfSense web interface using the default IP address (usually <code>192.168.1.1</code>). Log in with the default credentials (usually <code>admin</code> / <code>pfsense</code>).</p>



<ol class="wp-block-list" start="2">
	<li><strong>Configuring Network Interfaces</strong><br></li>
</ol>



<p>Configure your network interfaces by following the initial configuration wizard. Ensure that your WAN and LAN interfaces are correctly configured for Internet and LAN connectivity.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Configuring Firewall Rules</strong><br></li>
</ol>



<p>Configure firewall rules to control incoming and outgoing traffic. You can add rules to allow or block connections according to your security needs.</p>



<ol class="wp-block-list" start="4">
	<li><strong>Configuring VPNs</strong><br></li>
</ol>



<p>If you want to configure VPNs, go to the <code>VPN</code> tab and follow the instructions for configuring VPN connections (OpenVPN, IPsec, etc.).</p>



<ol class="wp-block-list" start="5">
	<li><strong>Update pfSense</strong><br></li>
</ol>



<p>Make sure your pfSense installation is up to date by going to the <code>System</code> &gt; <code>Firmware</code> tab and checking for available updates.</p>



<h2 id="advanced-use-of-pfsense" class="wp-block-heading">Advanced use of pfSense</h2>



<p>Once pfSense is installed and configured, you can explore advanced features to improve the security and management of your network:</p>



<ul class="wp-block-list">
<li><strong>Configure VLANs</strong>: Use VLANs to segment the network and improve security.</li>



<li><strong>Network monitoring</strong>: Install plugins like <a href="https://www.ntop.org/products/traffic-analysis/ntopng/">ntopng</a> to monitor network traffic in real time.</li>



<li>Setting up <strong>an IDS/IPS</strong>: Configure Snort or Suricata to detect and prevent intrusions.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>pfSense is a powerful and flexible solution for firewall management and routing. With its advanced features, ease of configuration and scalability, pfSense is ideal for businesses and home users alike looking to secure and optimise their network. With an active community and rich documentation, pfSense gives you all the tools you need to create a secure, high-performance network.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://www.pfsense.org">Official website of pfSense</a></li>



<li><a href="https://docs.netgate.com/pfsense/en/latest/">Official pfSense documentation</a></li>



<li><a href="https://github.com/pfsense/pfsense">pfSense GitHub Repository</a><br></li>
</ul>



<p>Share your experiences with pfSense and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/pfsense-the-essential-open-source-firewall-and-router-solution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3437</post-id>	</item>
		<item>
		<title>Tailscale: Simplify Network Management with a Zero-Trust VPN</title>
		<link>https://cajyl.com/en/tailscale-simplify-network-management-with-a-zero-trust-vpn/</link>
					<comments>https://cajyl.com/en/tailscale-simplify-network-management-with-a-zero-trust-vpn/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:55:43 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3434</guid>

					<description><![CDATA[Tailscale is a VPN solution based on the Zero-Trust network model that makes it easy to create and manage secure virtual private networks. Unlike traditional VPN solutions, Tailscale simplifies network&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://tailscale.com"><strong>Tailscale</strong></a> is a VPN solution based on the Zero-Trust network model that makes it easy to create and manage secure virtual private networks. Unlike traditional VPN solutions, Tailscale simplifies network configuration by using modern technologies to provide secure connectivity without the usual complexities of traditional VPNs. This article explores the benefits of Tailscale and provides a detailed guide to its installation and configuration.</p>



<h2 id="why-choose-tailscale" class="wp-block-heading">Why choose Tailscale?</h2>



<h3 id="1-easy-to-install-and-configure" class="wp-block-heading">1. <strong>Easy to install and configure</strong></h3>



<p>Tailscale is designed to be easy to install and configure. Unlike traditional VPNs that require complex configurations, Tailscale lets you create a virtual private network in minutes. Thanks to its peer-based configuration model, there&#8217;s no need to configure complex VPN servers or routes.</p>



<h3 id="2-zero-trust-model" class="wp-block-heading">2. <strong>Zero-Trust model</strong></h3>



<p>Tailscale adopts a Zero-Trust security model, which means that no user or device is assumed to be trusted by default. Each connection is authenticated and authorised individually, offering increased security over traditional VPN models. This reduces the risk of network compromise by limiting access to critical resources.</p>



<h3 id="3-secure-access-to-resources" class="wp-block-heading">3. <strong>Secure access to resources</strong></h3>



<p>With Tailscale, you can securely access your network resources, such as internal servers, applications and services, even when you&#8217;re on the move. You can also configure specific access for different users and groups, ensuring that only authorised users can access sensitive resources.</p>



<h3 id="4-easy-integration-with-existing-tools" class="wp-block-heading">4. <strong>Easy integration with existing tools</strong></h3>



<p>Tailscale integrates easily with your existing tools and services. It runs on a variety of operating systems, including Windows, macOS, Linux, iOS and Android. You can also use Tailscale with your identity management tools to simplify user and permission management.</p>



<h3 id="5-simplified-remote-access" class="wp-block-heading">5. <strong>Simplified Remote Access</strong></h3>



<p>For remote teams or users who need to access internal resources from different locations, Tailscale offers a simple and secure solution. You can establish VPN connections between your devices without the need for complicated configuration, making it easier to work remotely.</p>



<h2 id="installing-and-configuring-tailscale" class="wp-block-heading">Installing and configuring Tailscale</h2>



<p>Installing Tailscale is quick and easy. Here&#8217;s a step-by-step guide to setting up Tailscale on different operating systems.</p>



<h3 id="prerequisites" class="wp-block-heading">Prerequisites</h3>



<p>Before you start, make sure you have the following items:</p>



<ul class="wp-block-list">
<li>A Tailscale account. You can register for a free account on the <a href="https://tailscale.com">Tailscale website</a>.</li>



<li>A Tailscale-compatible device (Windows, macOS, Linux, iOS or Android).<br></li>
</ul>



<h3 id="installation-on-linux" class="wp-block-heading">Installation on Linux</h3>



<ol class="wp-block-list">
<li><strong>Add the Tailscale Depot</strong><br></li>
</ol>



<p>Add the Tailscale repository to your system with the following commands:</p>



<pre class="wp-block-code"><code>curl -fsSL https://tailscale.com/install.sh | sh
</code></pre>



<ol class="wp-block-list" start="2">
	<li><strong>Start Tailscale</strong><br></li>
</ol>



<p>Once the repository has been added, start Tailscale :</p>



<pre class="wp-block-code"><code>sudo tailscale up
</code></pre>



<p>You will be asked to log in with your Tailscale account. Follow the on-screen instructions to authorise the device.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Check Connection</strong><br></li>
</ol>



<p>Check that Tailscale is correctly installed and connected with :</p>



<pre class="wp-block-code"><code>tailscale status
</code></pre>



<h3 id="installation-on-windows" class="wp-block-heading">Installation on Windows</h3>



<ol class="wp-block-list">
<li><strong>Download and install Tailscale</strong><br></li>
</ol>



<p>Download the installation programme from the <a href="https://tailscale.com/download">official Tailscale website</a>. Run the installer and follow the instructions.</p>



<ol class="wp-block-list" start="2">
	<li><strong>Connect</strong><br></li>
</ol>



<p>After installation, open the Tailscale application and log in with your Tailscale account. You may need to allow the application to make changes to your device.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Check Connection</strong><br></li>
</ol>



<p>You can check the connection status using the Tailscale application interface.</p>



<h3 id="installation-on-macos" class="wp-block-heading">Installation on macOS</h3>



<ol class="wp-block-list">
<li><strong>Download and install Tailscale</strong><br></li>
</ol>



<p>Download the Tailscale application from the <a href="https://tailscale.com/download">official Tailscale website</a> and drag it into the Applications folder.</p>



<ol class="wp-block-list" start="2">
	<li><strong>Connect</strong><br></li>
</ol>



<p>Open the Tailscale application, log in with your Tailscale account and follow the on-screen instructions.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Check Connection</strong><br></li>
</ol>



<p>Check that Tailscale is connected by looking at the icon in the menu bar.</p>



<h3 id="installation-on-ios-and-android" class="wp-block-heading">Installation on iOS and Android</h3>



<ol class="wp-block-list">
<li><strong>Download the Application</strong><br></li>
</ol>



<p>Download the Tailscale application from the App Store (iOS) or Google Play Store (Android).</p>



<ol class="wp-block-list" start="2">
	<li><strong>Connect</strong><br></li>
</ol>



<p>Open the application, log in with your Tailscale account and follow the on-screen instructions.</p>



<ol class="wp-block-list" start="3">
	<li><strong>Check Connection</strong><br></li>
</ol>



<p>You can check the connection status directly from the Tailscale application.</p>



<h2 id="using-tailscale" class="wp-block-heading">Using Tailscale</h2>



<p>Once Tailscale has been installed and configured, you can start using your virtual private network. Here are some tips on how to get the most out of Tailscale:</p>



<ul class="wp-block-list">
<li><strong>Access Internal Resources</strong>: Use the IP addresses provided by Tailscale to access internal servers and applications.</li>



<li><strong>Manage Users and Permissions</strong>: Access the Tailscale dashboard to manage users and define security policies.</li>



<li><strong>Use Groups</strong>: Create groups to organise users and make access management easier.<br></li>
</ul>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p>Tailscale is a modern VPN solution that simplifies the management of virtual private networks thanks to its Zero-Trust approach. With easy installation, enhanced security and seamless integration with your existing tools, Tailscale is ideal for individuals and teams looking to secure and simplify their network connectivity. Whether you work remotely or manage multiple internal resources, Tailscale offers an efficient and flexible solution to meet your network needs.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://tailscale.com">Official website of Tailscale</a></li>



<li><a href="https://tailscale.com/kb/">Official Tailscale documentation</a><br></li>
</ul>



<p>Share your experiences with Tailscale and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/tailscale-simplify-network-management-with-a-zero-trust-vpn/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3434</post-id>	</item>
		<item>
		<title>Nginx-Proxy and Nginx-Proxy-Acme: Simplify Reverse Proxy and SSL Certificate Management</title>
		<link>https://cajyl.com/en/nginx-proxy-and-nginx-proxy-acme-simplify-reverse-proxy-and-ssl-certificate-management/</link>
					<comments>https://cajyl.com/en/nginx-proxy-and-nginx-proxy-acme-simplify-reverse-proxy-and-ssl-certificate-management/#respond</comments>
		
		<dc:creator><![CDATA[Augustin]]></dc:creator>
		<pubDate>Fri, 19 Jul 2024 02:55:41 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://cajyl.com/?p=3428</guid>

					<description><![CDATA[nginx-proxy and nginx-proxy-acme are two powerful tools that simplify the management of reverse proxies and SSL certificates for your Docker applications. These tools are particularly useful for those who host&#8230;]]></description>
										<content:encoded><![CDATA[
<p><a href="https://github.com/nginx-proxy/nginx-proxy">nginx-proxy</a> and <a href="https://github.com/nginx-proxy/acme-companion">nginx-proxy-acme</a> are two powerful tools that simplify the management of reverse proxies and SSL certificates for your Docker applications. These tools are particularly useful for those who host several applications on the same server and want to manage traffic routing and SSL certificates automatically. This article explores the main benefits of these tools and provides a detailed guide to installing and configuring them using Docker Compose.</p>



<h2 id="why-choose-nginx-proxy-and-nginx-proxy-acme" class="wp-block-heading">Why choose Nginx-Proxy and Nginx-Proxy-Acme?</h2>



<h3 id="1-simplified-management-of-reverse-proxies" class="wp-block-heading">1. <strong>Simplified management of Reverse Proxies</strong></h3>



<p><code>nginx-proxy</code> makes it easy to manage multiple Docker applications using an Nginx reverse proxy. It automatically detects Docker containers and configures Nginx to redirect them according to domain headers.</p>



<h3 id="2-automatic-ssl-certificates-with-letsencrypt" class="wp-block-heading">2. <strong>Automatic SSL Certificates with LetsEncrypt</strong></h3>



<p><code>nginx-proxy-acme</code> is an add-on to <code>nginx-proxy</code> that automates SSL certificate management with Let&#8217;s Encrypt. It automatically generates and renews SSL certificates, guaranteeing greater security without manual intervention.</p>



<h3 id="3-dynamic-configuration" class="wp-block-heading">3. <strong>Dynamic Configuration</strong></h3>



<p>Both tools use dynamic configuration to simplify the management of virtual hosts and SSL certificates. You don&#8217;t need to modify the Nginx configuration files manually every time you add or remove a container.</p>



<h3 id="4-open-source-and-free" class="wp-block-heading">4. <strong>Open Source and Free</strong></h3>



<p>Both tools are open source and free, allowing you to use them, modify them and adapt them to your needs at no cost.</p>



<h2 id="installing-nginx-proxy-and-nginx-proxy-acme-with-docker-compose" class="wp-block-heading">Installing Nginx-Proxy and Nginx-Proxy-Acme with Docker Compose</h2>



<p>Installing <code>nginx-proxy</code> and <code>nginx-proxy-acme</code> via Docker Compose is simple. Here&#8217;s a step-by-step guide to configuring these tools on your server.</p>



<h3 id="prerequisites" class="wp-block-heading">Prerequisites</h3>



<p>Before you start, make sure that Docker and Docker Compose are installed on your server. You can install them using the following commands:</p>



<pre class="wp-block-code"><code>sudo apt update
sudo apt install docker.io docker-compose -y
</code></pre>



<h3 id="creating-the-docker-compose-file" class="wp-block-heading">Creating the Docker Compose file</h3>



<p>Create a <code>docker-compose.yml</code> file in a directory of your choice. This file will contain the configuration required to deploy <code>nginx-proxy</code> and <code>nginx-proxy-acme</code>. Use the following code to configure the services:</p>



<pre class="wp-block-code"><code>version: '3'

services:
  nginx-proxy:
    image: nginxproxy/nginx-proxy
    container_name: nginx-proxy
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./nginx-proxy_conf:/etc/nginx/conf.d
      - ./nginx-proxy_vhosts:/etc/nginx/vhost.d
      - ./nginx-proxy_certs:/etc/nginx/certs
      - /var/run/docker.sock:/tmp/docker.sock
    restart: always

  nginx-proxy-acme:
    image: nginxproxy/acme-companion
    container_name: nginx-proxy-acme
    volumes:
      - ./nginx-proxy_certs:/etc/nginx/certs
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - DEFAULT_EMAIL=your-email@example.com
    depends_on:
      - nginx-proxy
    restart: always
</code></pre>



<h4 id="explanations" class="wp-block-heading">Explanations</h4>



<ul class="wp-block-list">
<li><strong>nginx-proxy</strong>:</li>



<li><strong>image</strong>: Indicates the official Docker image for <code>nginx-proxy</code>.</li>



<li><strong>container_name</strong>: Name of the container for easy identification.</li>



<li><strong>ports</strong>: Maps container ports 80 and 443 to host ports 80 and 443 to manage HTTP and HTTPS traffic.</li>



<li><strong>volumes</strong>: Mounts the directories needed to store the Nginx configuration, certificate files and communication with the Docker socket.</li>



<li><strong>restart</strong>: Ensures that the container restarts automatically in the event of failure.<br></li>



<li><strong>nginx-proxy-acme</strong>:</li>



<li><strong>image</strong>: Indicates the official Docker image for <code>nginx-proxy-acme</code>.</li>



<li><strong>container_name</strong>: Name of the container for easy identification.</li>



<li><strong>volumes</strong>: Mounts the directories needed to store SSL certificates and communication with the Docker socket.</li>



<li><strong>environment</strong>: Defines the email address for certificate renewal notifications.</li>



<li><strong>depends_on</strong>: Ensures that <code>nginx-proxy-acme</code> starts after <code>nginx-proxy</code>.<br></li>
</ul>



<h3 id="launch-services" class="wp-block-heading">Launch Services</h3>



<p>Once you have created the <code>docker-compose.yml</code> file, start the services with the following command:</p>



<pre class="wp-block-code"><code>sudo docker-compose up -d
</code></pre>



<p>This command downloads the Docker images, creates the containers, and starts <code>nginx-proxy</code> and <code>nginx-proxy-acme</code> in the background. The services will be automatically configured to handle HTTP and HTTPS requests for your Docker applications.</p>



<h3 id="configuring-docker-containers" class="wp-block-heading">Configuring Docker Containers</h3>



<p>For <code>nginx-proxy</code> to manage Docker containers, you need to set the <code>VIRTUAL_HOST</code> and <code>LETSENCRYPT_HOST</code> environment variables in your other Docker services. Here is an example configuration for a Docker container:</p>



<pre class="wp-block-code"><code>version: '3'

services:
  web:
    image: your-web-app
    environment:
      - VIRTUAL_HOST=yourdomain.com
      - LETSENCRYPT_HOST=yourdomain.com
      - LETSENCRYPT_EMAIL=your-email@example.com
</code></pre>



<h2 id="conclusion" class="wp-block-heading">Conclusion</h2>



<p><code>nginx-proxy</code> and <code>nginx-proxy-acme</code> are powerful tools for managing reverse proxies and SSL certificates for your Docker applications. Thanks to their simple installation via Docker Compose and their ability to automate the management of SSL certificates, these tools make it much easier to administer your web services while ensuring greater security.</p>



<h3 id="useful-links" class="wp-block-heading">Useful links</h3>



<ul class="wp-block-list">
<li><a href="https://nginx-proxy.github.io/nginx-proxy/">Official Nginx-Proxy website</a></li>



<li><a href="https://github.com/nginx-proxy/nginx-proxy">Nginx-Proxy GitHub repository</a></li>



<li><a href="https://nginx-proxy.github.io/acme-companion/">Official website of Nginx-Proxy-Acme</a></li>



<li><a href="https://github.com/nginx-proxy/acme-companion">Nginx-Proxy-Acme GitHub repository</a><br></li>
</ul>



<p>Share your experiences with <code>nginx-proxy</code> and <code>nginx-proxy-acme</code> and ask your questions in the comments section!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cajyl.com/en/nginx-proxy-and-nginx-proxy-acme-simplify-reverse-proxy-and-ssl-certificate-management/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3428</post-id>	</item>
	</channel>
</rss>
