This commit is contained in:
bullshar-k
2026-08-05 20:29:57 -04:00
parent 64f9eff485
commit f301e09bc7
6 changed files with 230 additions and 3 deletions
+8 -1
View File
@@ -39,7 +39,7 @@
<link>http://localhost:1313/posts/wireguard/</link>
<pubDate>Sat, 25 Jul 2026 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/posts/wireguard/</guid>
<description>&lt;h2 id=&#34;quick-guide&#34;&gt;Quick guide&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;apt update &amp;amp;&amp;amp; apt upgrade&#xA;apt install wireguard-tools git go iptables&#xA;git clone https://github.com/bullshar-k/wg.conf&#xA;cd wgconf&#xA;go build main.go&#xA;./main -peer 10 -dest server_ip -port 51855&#xA;mv server.conf /etc/wireguard&#xA;wg-quick up server&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;From there you move the client 1-10 onto the appropriate clients and use wg-quick up on them too.&#xA;Depending on your VPS you may need traffic forwarding post up rules like this;&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;PostUp = iptables -A FORWARD -i server -j ACCEPT&#xA;PostUp = iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&#xA;PostDown = iptables -D FORWARD -i server -j ACCEPT&#xA;PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;If it isn&amp;rsquo;t apparent this goes in the &lt;code&gt;[INTERFACE]&lt;/code&gt; section after the interface info before the first &lt;code&gt;[PEER]&lt;/code&gt;&#xA;Ensure &lt;code&gt;server&lt;/code&gt; is the name of the .conf file as that will be the name of the interface, and &lt;code&gt;eth0&lt;/code&gt; is the name of your WAN facing NIC interface.&lt;/em&gt;&lt;/p&gt;</description>
<description>&lt;h2 id=&#34;quick-guide&#34;&gt;Quick guide&lt;/h2&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;apt update &amp;amp;&amp;amp; apt upgrade&#xA;apt install wireguard-tools git go iptables&#xA;git clone https://github.com/bullshar-k/wgconf&#xA;cd wgconf&#xA;go build main.go&#xA;./main -peer 10 -dest server_ip -port 51855&#xA;mv server.conf /etc/wireguard&#xA;wg-quick up server&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;From there you move the client 1-10 onto the appropriate clients and use wg-quick up on them too.&#xA;Depending on your VPS you may need traffic forwarding post up rules like this;&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;PostUp = iptables -A FORWARD -i server -j ACCEPT&#xA;PostUp = iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&#xA;PostDown = iptables -D FORWARD -i server -j ACCEPT&#xA;PostDown = iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;em&gt;If it isn&amp;rsquo;t apparent this goes in the &lt;code&gt;[INTERFACE]&lt;/code&gt; section after the interface info before the first &lt;code&gt;[PEER]&lt;/code&gt;&#xA;Ensure &lt;code&gt;server&lt;/code&gt; is the name of the .conf file as that will be the name of the interface, and &lt;code&gt;eth0&lt;/code&gt; is the name of your WAN facing NIC interface.&lt;/em&gt;&lt;/p&gt;</description>
</item>
<item>
<title>Self hosting monero node</title>
@@ -55,6 +55,13 @@
<guid>http://localhost:1313/posts/benchmark/</guid>
<description>&lt;p&gt;Both tests were done separately, not in concurrency, with the same background activity on the host machine. Scores are difference from Arch - Artix. If the number is positive Arch scored higher. Percent diffs are calcualted as follows: 100(|diff|/arch&amp;rsquo;s score)&lt;/p&gt;&#xA;&lt;p&gt;Gentoo wiki has an article with the breakdown comparison of these two @&lt;a href=&#34;https://wiki.gentoo.org/wiki/Comparison_of_init_systems&#34;&gt;Comparison of init systems&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;environment&#34;&gt;Environment&lt;/h2&gt;&#xA;&lt;table&g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&#xA;&lt;table&gt;&#xA;&#x9;&lt;thead&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Native integer math&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Wide integer math&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Floating point math&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Prime numbers&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Extended instructions&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Compression&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Encryption&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Physics&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Sorting&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Memory latency&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;th&gt;Memory bandwidth&lt;/th&gt;&#xA;&#x9;&#x9;&#x9;&lt;/tr&gt;&#xA;&#x9;&lt;/thead&gt;&#xA;&#x9;&lt;tbody&gt;&#xA;&#x9;&#x9;&#x9;&lt;tr&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;-514.3&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;-689.5&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;277&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;-44.5&lt;/td&gt;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&lt;td&gt;492.2&lt;/td&gt;&#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
</item>
<item>
<title>Adguard home</title>
<link>http://localhost:1313/posts/adguard/</link>
<pubDate>Sun, 28 Jun 2026 00:00:00 +0000</pubDate>
<guid>http://localhost:1313/posts/adguard/</guid>
<description>&lt;hr&gt;&#xA;&lt;h2 id=&#34;installation-itself&#34;&gt;Installation itself&lt;/h2&gt;&#xA;&lt;p&gt;Very easy, good jobs on the devs overall. My upstream is &lt;code&gt;9.9.9.9:853&lt;/code&gt; and I have wireguard running on that VM so it proxies to one of my VPSes in another country.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h2 id=&#34;mullvad-linux-client-lan-sharing&#34;&gt;Mullvad linux client LAN sharing&lt;/h2&gt;&#xA;&lt;p&gt;It does NOT play nice. It does not let you use your own DNS even with lockdown mode off, LAN sharing on, and custom DNS enabled. DNS goes out and it doesn&amp;rsquo;t get it back from adguard because mullvad actually never changes the interfaces DNS to the custom one.&#xA;It only changes it to SEND dns queries, not RECEIVE, so you are effectively left WITHOUT DNS unless you set it manually like so.&lt;/p&gt;</description>
</item>
<item>
<title>OPNsense</title>
<link>http://localhost:1313/posts/opnsense/</link>