<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>vpn on Talha Tabak</title><link>https://talhatabak.com/tags/vpn/</link><description>Recent content in vpn on Talha Tabak</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Talha Tabak</copyright><lastBuildDate>Sat, 21 Nov 2026 00:16:00 +0300</lastBuildDate><atom:link href="https://talhatabak.com/tags/vpn/index.xml" rel="self" type="application/rss+xml"/><item><title>WireGuard: Possible Problems</title><link>https://talhatabak.com/self-hosting/wireguard-troubleshooting/</link><pubDate>Sat, 21 Nov 2026 00:16:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wireguard-troubleshooting/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/services-behind-vpn/"&gt;7.2 Putting Services Behind the VPN&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The desktop has the two profiles created in &lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt;: &lt;code&gt;xenternet&lt;/code&gt; (full tunnel) and &lt;code&gt;xentranet&lt;/code&gt; (split tunnel).&lt;/li&gt;&#10;&lt;li&gt;The commands in this part are run on the Linux desktop (the client) that uses NetworkManager.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Putting Services Behind the VPN</title><link>https://talhatabak.com/self-hosting/services-behind-vpn/</link><pubDate>Sat, 21 Nov 2026 00:15:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/services-behind-vpn/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/wireguard-clients/"&gt;7.1 Adding WireGuard Clients&lt;/a&gt; must be done; you must be able to connect to the VPN from your personal computer.&lt;/li&gt;&#10;&lt;li&gt;For the NGINX part, &lt;a href="https://talhatabak.com/self-hosting/nginx/"&gt;3 NGINX Configuration&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The VPN networks are &lt;code&gt;10.8.0.0/24&lt;/code&gt; and &lt;code&gt;fd42:8::/64&lt;/code&gt;, and the server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;SSH is allowed in the &lt;code&gt;vpn&lt;/code&gt; zone (&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt;).&lt;/li&gt;&#10;&lt;li&gt;Server commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;). The tests with &lt;code&gt;ssh&lt;/code&gt; and &lt;code&gt;curl&lt;/code&gt; are done from a personal computer.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>Adding WireGuard Clients</title><link>https://talhatabak.com/self-hosting/wireguard-clients/</link><pubDate>Sat, 21 Nov 2026 00:14:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wireguard-clients/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/wireguard/"&gt;7 WireGuard Setup&lt;/a&gt; must be done.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt;; clients connect to the VPN through &lt;code&gt;xenonly.com:51820&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Server-side commands are run on the server, client-side commands on a Linux desktop that uses NetworkManager. Commands that need root rights are written with &lt;code&gt;sudo&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;The desktop uses two VPN profiles: &lt;code&gt;xenternet&lt;/code&gt; (full tunnel), which sends all traffic through the tunnel, and &lt;code&gt;xentranet&lt;/code&gt; (split tunnel), which sends only the traffic for the VPN network through the tunnel.&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item><item><title>WireGuard Setup</title><link>https://talhatabak.com/self-hosting/wireguard/</link><pubDate>Sat, 21 Nov 2026 00:13:00 +0300</pubDate><guid>https://talhatabak.com/self-hosting/wireguard/</guid><description>&lt;div class="admonition relative overflow-hidden rounded-lg border-l-4 my-3 px-4 py-3 shadow-sm" data-type="abstract"&gt;&#10; &lt;div class="flex items-center gap-2 font-semibold text-inherit"&gt;&#10; &lt;div class="flex shrink-0 h-5 w-5 items-center justify-center text-lg"&gt;&lt;span class="relative block icon"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"&gt;&#10; &lt;path fill="currentColor" d="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/&gt;&#10;&lt;/svg&gt;&#10;&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="grow"&gt;&#10; Requirements&#10; &lt;/div&gt;&#10; &lt;/div&gt;&lt;div class="admonition-content mt-3 text-base leading-relaxed text-inherit"&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://talhatabak.com/self-hosting/docker/"&gt;4 Docker Setup&lt;/a&gt; and &lt;a href="https://talhatabak.com/self-hosting/firewalld/"&gt;5 Firewalld Configuration&lt;/a&gt; must be done (this part changes the configuration of both).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;strong&gt;Assumptions&lt;/strong&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;The outside network interface is &lt;code&gt;eth0&lt;/code&gt;, it is managed by NetworkManager, and its IPv6 address is set statically.&lt;/li&gt;&#10;&lt;li&gt;The VPN networks are &lt;code&gt;10.8.0.0/24&lt;/code&gt; (IPv4) and &lt;code&gt;fd42:8::/64&lt;/code&gt; (IPv6); the server&amp;rsquo;s VPN address is &lt;code&gt;10.8.0.1&lt;/code&gt; / &lt;code&gt;fd42:8::1&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;WireGuard listens on port &lt;code&gt;51820/udp&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Commands are run on the server with root rights (&lt;code&gt;sudo&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;</description></item></channel></rss>