{"id":200,"date":"2026-09-24T13:47:16","date_gmt":"2026-09-24T13:47:16","guid":{"rendered":"https:\/\/stospn.com\/?p=200"},"modified":"2026-11-06T22:23:07","modified_gmt":"2026-11-06T20:23:07","slug":"debian-installation","status":"publish","type":"post","link":"https:\/\/stospn.com\/ar\/debian-installation\/","title":{"rendered":"Debian Installation"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>Easiest way:<\/strong> install the <a href=\"https:\/\/stospn.com\/ar\/apps\/\">\u062a\u0637\u0628\u064a\u0642 STOSPN DPN<\/a> for Linux (<code>.deb<\/code> for Debian), sign in with your STOSPN account and click Connect. To use the OpenVPN 3 command-line client instead, follow the steps below with the <code>.ovpn<\/code> profile from <a href=\"https:\/\/stospn.com\/ar\/my-account\/orders\/\">\u062d\u0633\u0627\u0628\u064a \u2190 \u0627\u0644\u0637\u0644\u0628\u0627\u062a<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install and set up OpenVPN Connect on Debian, follow these steps:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Update System Packages &amp; Install Dependencies:<\/strong> Prerequisite: Root or sudo access.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open your terminal.<\/li>\n\n\n\n<li>Update your package index and install required dependencies:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install -y curl gnupg apt-transport-https ca-certificates\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Add Official OpenVPN Repository:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Create the keyrings directory if it does not exist:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p \/etc\/apt\/keyrings\n<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Import the official OpenVPN GPG signing key:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/packages.openvpn.net\/packages-repo.gpg | sudo gpg --dearmor -o \/etc\/apt\/keyrings\/openvpn-repo.gpg\n<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Add the OpenVPN Connect repository to your sources list:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;signed-by=\/etc\/apt\/keyrings\/openvpn-repo.gpg] https:\/\/packages.openvpn.net\/openvpn3\/debian $(lsb_release -cs) main\" | sudo tee \/etc\/apt\/sources.list.d\/openvpn3.list\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. Install OpenVPN Connect (OpenVPN 3):<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Refresh the package lists to include the new repository:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\n<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Install the OpenVPN Connect client package:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install -y openvpn3\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. Import Your Configuration Profile:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Transfer your <code>.ovpn<\/code> configuration file to your Debian machine.<\/li>\n\n\n\n<li>Import the profile into OpenVPN Connect:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openvpn3 config-import --config \/path\/to\/your\/client.ovpn --name \"STOSPN\"\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. Establish the Connection:<\/strong><\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Start the VPN session using the imported profile name:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openvpn3 session-start --config \"STOSPN\"\n<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Enter your VPN credentials if prompted.<\/li>\n\n\n\n<li>Verify active sessions at any time using:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openvpn3 sessions-list\n<\/code><\/pre>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>To disconnect the session:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openvpn3 session-manage --config \"STOSPN\" --disconnect\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Alternative: Standard OpenVPN Client<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you prefer using the legacy standard OpenVPN daemon rather than the v3 client framework:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt install -y openvpn\nsudo openvpn --config \/path\/to\/your\/client.ovpn<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Easiest way: install the STOSPN DPN app for Linux (.deb for Debian), sign in with your STOSPN account and click Connect. To use the OpenVPN 3 command-line client instead, follow the steps below with the .ovpn profile from My Account \u2192 Orders. To install and set up OpenVPN Connect on Debian, follow these steps: 1. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-guide"],"acf":[],"_links":{"self":[{"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":2,"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"predecessor-version":[{"id":1143,"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/posts\/200\/revisions\/1143"}],"wp:attachment":[{"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stospn.com\/ar\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}